Skip to content

Commit e3c2f9d

Browse files
committed
try to resolve problem with narrowing types on test.
1 parent 3acacec commit e3c2f9d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/dimensionalityTest.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,8 @@ void visvalingam_templated() {
269269
auto points_x = khiva::utils::makeScopedHostPtr(res.col(0).host<T>());
270270
auto points_y = khiva::utils::makeScopedHostPtr(res.col(1).host<T>());
271271

272-
auto expectedX = std::vector<T>{0.0, 2.0, 3.0, 7.0, 9.0};
273-
auto expectedY = std::vector<T>{0.0, -0.1, 5.0, 9.0, 9.0};
272+
auto expectedX = std::vector<T>{0.0f, 2.0f, 3.0f, 7.0f, 9.0f};
273+
auto expectedY = std::vector<T>{0.0f, -0.1f, 5.0f, 9.0f, 9.0f};
274274

275275
auto pxVector = std::vector<T>(points_x.get(), points_x.get() + res.col(0).elements());
276276
auto pyVector = std::vector<T>(points_y.get(), points_y.get() + res.col(1).elements());

0 commit comments

Comments
 (0)