Mercurial > hg > octave-avbm
diff src/data.cc @ 10269:217d36560dfa
small fixes to accumarray
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Sat, 06 Feb 2010 11:11:43 +0100 (2010-02-06) |
parents | 9a16a61ed43d |
children | 703038d648f1 |
line wrap: on
line diff
--- a/src/data.cc +++ b/src/data.cc @@ -6347,7 +6347,7 @@ else retval = do_accumarray_sum (idx, vals.float_array_value (), n); } - else if (vals.is_numeric_type () || vals.is_bool_type () || vals.is_string ()) + else if (vals.is_numeric_type () || vals.is_bool_type ()) { if (vals.is_complex_type ()) retval = do_accumarray_sum (idx, vals.complex_array_value (), n);