micro-cleanup

This commit is contained in:
Marc Planard 2023-07-06 20:26:06 +02:00
parent 2b0a2ce06d
commit e5e8ad878b

View File

@ -16,15 +16,7 @@ impl EDH {
vec[2].len() != 3 {
return Err(Box::new(LJError::BadEDH));
}
//
// [FIX] Not sure of the order, if is it's vec[x][y] or vec[y][x] ...
//
/*
let matrix = Matrix3::new(vec[0][0], vec[0][1], vec[0][2],
vec[1][0], vec[1][1], vec[1][2],
vec[2][0], vec[2][1], vec[2][2]);
*/
// this is the matrix already transposed.
let matrix = Matrix3::new(vec[0][0], vec[1][0], vec[2][0],
vec[0][1], vec[1][1], vec[2][1],