Mercurial > octave
diff src/DLD-FUNCTIONS/bsxfun.cc @ 9783:119d97db51f0
avoid repeated table init in bsxfun
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Sun, 08 Nov 2009 21:14:23 +0100 |
parents | 26abff55f6fe |
children | c15a5ed0da58 |
line wrap: on
line diff
--- a/src/DLD-FUNCTIONS/bsxfun.cc Fri Nov 06 09:43:43 2009 +0100 +++ b/src/DLD-FUNCTIONS/bsxfun.cc Sun Nov 08 21:14:23 2009 +0100 @@ -1,6 +1,7 @@ /* Copyright (C) 2007, 2008, 2009 David Bateman +Copyright (C) 2009 VZLU Prague This file is part of Octave. @@ -149,6 +150,8 @@ // For bools, we register and/or. REGISTER_OP_HANDLER (bsxfun_builtin_and, btyp_bool, boolNDArray, bsxfun_and); REGISTER_OP_HANDLER (bsxfun_builtin_or, btyp_bool, boolNDArray, bsxfun_or); + + filled = true; } static octave_value