Fix resize behavior w/r to semi static container

See merge request oss/rotgen!32
This commit is contained in:
Joel Falcou 2025-09-29 21:05:43 +02:00
parent a3aa130563
commit 7d65a05f72
5 changed files with 35 additions and 50 deletions

View file

@ -77,8 +77,4 @@ TTS_CASE("Matrix size-related operations")
std::pair{1, 2}, std::pair{11, 17}, std::pair{4, 5},
std::pair{9, 1}, std::pair{3, 8}, std::pair{22, 0},
});
rotgen::matrix<double, 3, 3> a;
TTS_EXPECT_NOT_COMPILES(a, { rotgen::resize(a, 4, 5); });
TTS_EXPECT_NOT_COMPILES(a, { rotgen::conservativeResize(a, 4, 5); });
};