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
1 changed files with 1 additions and 1 deletions

View File

@ -911,7 +911,7 @@ pub fn dim<V: Dim>() -> uint {
/// Gets the indexable range of an object.
#[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()
}