Mercurial > octave
diff liboctave/bsxfun.h @ 13006:61be447052c3
Implement automatic bsxfun almost everywhere now except sparse matrices.
* bsxfun.h: Move the .cc include since it uses the declaration of the function
* oct-binmap.h: Call bsxfun on Array-Array binmap, and pass functions
by pointer instead of by reference so they can be passed to do_bsxfun_op.
* xor.m: Trivially call bsxfun by default.
author | Jordi Gutiérrez Hermoso <jordigh@gmail.com> |
---|---|
date | Thu, 25 Aug 2011 04:07:11 -0500 |
parents | 4061106b1c4b |
children | aa4a23337a0f |
line wrap: on
line diff
--- a/liboctave/bsxfun.h Wed Aug 24 23:12:28 2011 -0500 +++ b/liboctave/bsxfun.h Thu Aug 25 04:07:11 2011 -0500 @@ -27,8 +27,6 @@ #include "Array.h" #include "dim-vector.h" -#include "bsxfun-defs.cc" - inline bool is_valid_bsxfun (const dim_vector& dx, const dim_vector& dy) @@ -41,4 +39,6 @@ return true; } +#include "bsxfun-defs.cc" + #endif