Sketcher tests: Silence compiler warning with cast

This commit is contained in:
Chris Hennes
2025-05-14 22:32:22 -05:00
committed by Benjamin Nauck
parent ee4fa234c9
commit 283d68aa2d

View File

@@ -92,7 +92,7 @@ TEST_F(ConstraintsTest, tangentBSplineAndArc) // NOLINT
weightsAsPtr.push_back(&weights[i]);
}
for (size_t i = 0; i < knots.size(); ++i) {
knots[i] = i;
knots[i] = static_cast<double>(i);
knotsAsPtr.push_back(&knots[i]);
}
GCS::Arc arc;