1
0
Fork 0
mirror of https://github.com/cosmo-sims/monofonIC.git synced 2024-09-19 17:03:45 +02:00

fixed bug where eigenvectors and coordinate indices were mixed up

This commit is contained in:
Oliver Hahn 2019-11-03 17:04:05 +01:00
parent c71b844e16
commit 9356870841

View file

@ -90,9 +90,9 @@ public:
for( int i=0; i<3; ++i ){
evals[i] = gsl_vector_get( eval_, i );
evec1[i] = gsl_matrix_get( evec_, 0, i );
evec2[i] = gsl_matrix_get( evec_, 1, i );
evec3[i] = gsl_matrix_get( evec_, 2, i );
evec1[i] = gsl_matrix_get( evec_, i, 0 );
evec2[i] = gsl_matrix_get( evec_, i, 1 );
evec3[i] = gsl_matrix_get( evec_, i, 2 );
}
}
};