diff liboctave/boolNDArray.h @ 8756:d0755c9db5ed

implement fast logical sum (counting)
author Jaroslav Hajek <highegg@gmail.com>
date Mon, 16 Feb 2009 12:41:55 +0100
parents 1dce30ab0e72
children b756ce0002db
line wrap: on
line diff
--- a/liboctave/boolNDArray.h
+++ b/liboctave/boolNDArray.h
@@ -66,7 +66,7 @@
   boolNDArray all (int dim = -1) const;
   boolNDArray any (int dim = -1) const;
 
-  boolNDArray sum (int dim = -1) const;
+  NDArray sum (int dim = -1) const;
 
   boolNDArray concat (const boolNDArray& rb, const Array<octave_idx_type>& ra_idx);