mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Isolate legacy code (we keep it for performance comparison purpose)
This commit is contained in:
@@ -160,6 +160,10 @@ void check_indexed_view()
|
||||
|
||||
#endif
|
||||
|
||||
// check legacy code
|
||||
VERIFY_IS_APPROX( A(legacy::seq(legacy::last,2,-2), legacy::seq(legacy::last-6,7)), A(seq(last,2,-2), seq(last-6,7)) );
|
||||
VERIFY_IS_APPROX( A(seqN(legacy::last,2,-2), seqN(legacy::last-6,3)), A(seqN(last,2,-2), seqN(last-6,3)) );
|
||||
|
||||
}
|
||||
|
||||
void test_indexed_view()
|
||||
|
||||
Reference in New Issue
Block a user