Fix an unconstrained type in na::shape.

This commit is contained in:
Sébastien Crozet 2015-01-04 19:43:04 +01:00
parent f48cefe13f
commit e94061ed10

View File

@ -911,7 +911,7 @@ pub fn dim<V: Dim>() -> uint {
/// Gets the indexable range of an object. /// Gets the indexable range of an object.
#[inline(always)] #[inline(always)]
pub fn shape<V: Shape<I>, I, N>(v: &V) -> I { pub fn shape<V: Shape<I>, I>(v: &V) -> I {
v.shape() v.shape()
} }