Mercurial > hg > octave-nkf
diff liboctave/numeric/bsxfun.h @ 20056:059a05bc398c
Replace 'Octave:broadcast' warning with 'Octave:matlab-incompatible'.
* liboctave/numeric/bsxfun.h: replace the 'Octave:broadcasting' with the more
common 'Octave:matlab-compatible' warning which is off by default.
* plot/appearance/annotation.m, image/cubehelix.m: remove turning off the
warning since now it is done by default.
* miscellaneous/warning_ids.m: remove entry about Octave:broadcast
* NEWS: make note of this change.
author | Carnë Draug <carandraug@octave.org> |
---|---|
date | Sat, 21 Feb 2015 16:38:53 +0000 |
parents | 4197fc428c7d |
children | e9a0bd0b125c |
line wrap: on
line diff
--- a/liboctave/numeric/bsxfun.h +++ b/liboctave/numeric/bsxfun.h @@ -46,7 +46,8 @@ } (*current_liboctave_warning_with_id_handler) - ("Octave:broadcast", "%s: automatic broadcasting operation applied", + ("Octave:matlab-incompatible", + "Matlab compatibility problem - %s automatic broadcasting", name.c_str ()); return true; @@ -76,7 +77,8 @@ } (*current_liboctave_warning_with_id_handler) - ("Octave:broadcast", "%s: automatic broadcasting operation applied", + ("Octave:matlab-incompatible", + "Matlab compatibility problem - %s automatic broadcasting", name.c_str ()); return true;