From 2a5261cd719547686f283b2aeae004b589b69e32 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Fri, 20 Mar 2026 18:23:39 +0100 Subject: Fraction and downcast looks ok. Need upper bound now --- lib/core/c++/math/n_linear.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/core/c++') 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::Vector>> position_to_i ind.at({{i}}) = pos_cpy.at({{i}}).template cast_to(); } - frac = pos - ind.template cast_to(); + frac = pos_cpy - ind.template cast_to(); return sep; } -- cgit v1.2.3