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
parents 9a16a61ed43d
children 703038d648f1
line wrap: on
line diff
--- a/src/data.cc	Fri Feb 05 12:09:21 2010 +0100
+++ b/src/data.cc	Sat Feb 06 11:11:43 2010 +0100
@@ -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);