diff liboctave/boolMatrix.cc @ 8743:1bd918cfb6e2

reimplement any & all using the new reduction code
author Jaroslav Hajek <highegg@gmail.com>
date Sat, 14 Feb 2009 19:50:43 +0100
parents 36594d5bbe13
children b756ce0002db
line wrap: on
line diff
--- a/liboctave/boolMatrix.cc
+++ b/liboctave/boolMatrix.cc
@@ -89,13 +89,13 @@
 boolMatrix
 boolMatrix::all (int dim) const
 {
-  MX_ALL_OP (dim);
+  return do_mx_red_op<boolMatrix> (*this, dim, mx_inline_all);
 }
 
 boolMatrix
 boolMatrix::any (int dim) const
 {
-  MX_ANY_OP (dim);
+  return do_mx_red_op<boolMatrix> (*this, dim, mx_inline_any);
 }
 
 MM_CMP_OPS (boolMatrix, , boolMatrix, )