Fix an unconstrained type in na::shape
.
This commit is contained in:
parent
f48cefe13f
commit
e94061ed10
@ -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()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user