mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 02:45:58 +08:00
Fix linux compiling issue.
Just add .template to the right place.
This commit is contained in:
parent
d9d0ed293e
commit
0a4766e8d3
@ -161,7 +161,7 @@ Circled circle_least_squares_by_solver(const Vec2ds &input, Solver solver)
|
||||
b(r) = p.squaredNorm();
|
||||
}
|
||||
auto result = solver(A, b);
|
||||
out.center = result.head<2>();
|
||||
out.center = result.template head<2>();
|
||||
double r2 = out.center.squaredNorm() - result(2);
|
||||
if (r2 <= EPSILON)
|
||||
out.make_invalid();
|
||||
|
Loading…
x
Reference in New Issue
Block a user