Closed Wentzell closed 4 years ago
For both the current triqs master and unstable the following small code snippet
#include <triqs/arrays.hpp> using namespace triqs::arrays; int main(){ matrix<double> m { 1, 1, FORTRAN_LAYOUT }; TRIQS_PRINT(m.memory_layout_is_fortran()); }
outputs 0, i.e. the memory layout is found to not be of the FORTRAN type even though it is clearly constructed in that way.
0
To be rechecked.
Ok by construction, Fortran layout is now at compile time. Added a check for it.
For both the current triqs master and unstable the following small code snippet
outputs
0
, i.e. the memory layout is found to not be of the FORTRAN type even though it is clearly constructed in that way.