Fix max in component_max
This commit is contained in:
parent
576dcae341
commit
6bcf735bf1
|
@ -76,7 +76,7 @@ impl<N: Scalar, R: Dim, C: Dim, S: Storage<N, R, C>> Matrix<N, R, C, S> {
|
||||||
N: Ord,
|
N: Ord,
|
||||||
DefaultAllocator: Allocator<N, R, C>,
|
DefaultAllocator: Allocator<N, R, C>,
|
||||||
{
|
{
|
||||||
self.zip_map(rhs, |a, b| a.min(b))
|
self.zip_map(rhs, |a, b| a.max(b))
|
||||||
}
|
}
|
||||||
|
|
||||||
// FIXME: add other operators like component_ln, component_pow, etc. ?
|
// FIXME: add other operators like component_ln, component_pow, etc. ?
|
||||||
|
|
Loading…
Reference in New Issue