diff libinterp/octave-value/ov-usr-fcn.cc @ 15501:814c4b0d5c49

make numeric mapper functions throw error for char args (bug #37535) * ov-base.h (octave_base_value::get_umap_name): Now protected instead of private. * ov-ch-mat.cc (octave_char_matrix::map): Special cases for umap_abs, umap_ceil, umap_fix, umap_floor, umap_imag, umap_isinf, umap_isnan, umap_real, and umap_round. Error for all other mappers that expect numeric arguments.
author John W. Eaton <jwe@octave.org>
date Thu, 11 Oct 2012 12:56:56 -0400
parents 6823ad7a25b1
children 52df2e7baabe
line wrap: on
line diff