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:
parent
c71b844e16
commit
9356870841
1 changed files with 3 additions and 3 deletions
|
@ -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 );
|
||||
}
|
||||
}
|
||||
};
|
Loading…
Reference in a new issue