Resolve "[API-#2] Pseudo-privatization of rotgen entity member functions"

Closes #18

Co-authored-by: Jules Pénuchot <jules@penuchot.com>

See merge request oss/rotgen!50
This commit is contained in:
Jules Pénuchot 2025-12-17 20:48:00 +01:00 committed by Joel Falcou
parent 6489697c05
commit e151e136d6
52 changed files with 2212 additions and 1556 deletions

View file

@ -22,7 +22,7 @@ template<typename Ref, typename Generator> void check_acceptance(Generator f)
TTS_EQUAL(v.data(), ptr);
// Setup the data correctly
data.resize(v.rows(), v.cols());
data.resize(rows(v), cols(v));
rotgen::setRandom(data);
// Assign through the ref
@ -34,7 +34,7 @@ template<typename Ref, typename Generator> void check_acceptance(Generator f)
};
acceptor(in, in.data());
data.resize(in.rows(), in.cols());
data.resize(rows(in), cols(in));
TTS_EQUAL(in, data);
TTS_EQUAL(constant_acceptor(in), minCoeff(data)) << in << "\n"