Fix max in component_max

This commit is contained in:
mandeep 2019-10-21 17:27:31 -04:00
parent 576dcae341
commit 6bcf735bf1
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ impl<N: Scalar, R: Dim, C: Dim, S: Storage<N, R, C>> Matrix<N, R, C, S> {
N: Ord,
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. ?