Am I missing something obvious? I cannot get any of the fixed_* methods to work.
let a = Matrix3::<f32>::zeros();
let s = a.fixed_slice::<U2, U2>(0, 0);
Error:
trait na::DimName
is not implemented for typenum::uint::UTerm
Am I missing something obvious? I cannot get any of the fixed_* methods to work.
let a = Matrix3::<f32>::zeros();
let s = a.fixed_slice::<U2, U2>(0, 0);
Error:
trait na::DimName
is not implemented for typenum::uint::UTerm
Are you using U2
from typenum? You need to use the type-level integers from nalgebra instead (nalgebra::U2
).