1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

fix adapt interface: container, tuple, hash, generator

This commit is contained in:
bolero-MURAKAMI 2013-04-22 13:04:27 +09:00
parent 61720b72c3
commit 74e0c8acd6
36 changed files with 975 additions and 1061 deletions

View file

@ -3,7 +3,7 @@
#include <type_traits>
#include <sprout/config.hpp>
#include <sprout/array/array.hpp>
#include <sprout/array.hpp>
#include <sprout/tuple/tuple.hpp>
#include <sprout/tuple/functions.hpp>
#include <sprout/darkroom/access/access.hpp>

View file

@ -172,7 +172,7 @@ namespace sprout {
ray,
det_sq > 0,
b,
sprout::sqrt(det_sq)
det_sq > 0 ? sprout::sqrt(det_sq) : unit_type(0)
)
);
}