diff options
Diffstat (limited to 'lib/core/c++')
| -rw-r--r-- | lib/core/c++/math/n_linear.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/core/c++/math/n_linear.hpp b/lib/core/c++/math/n_linear.hpp index bb7653c..ac02da8 100644 --- a/lib/core/c++/math/n_linear.hpp +++ b/lib/core/c++/math/n_linear.hpp @@ -33,7 +33,7 @@ saw::data<sch::Tuple<sch::Vector<sch::UInt64,D>,sch::Vector<T,D>>> position_to_i ind.at({{i}}) = pos_cpy.at({{i}}).template cast_to<sch::UInt64>(); } - frac = pos - ind.template cast_to<T>(); + frac = pos_cpy - ind.template cast_to<T>(); return sep; } |
