diff src/OPERATORS/op-struct.cc @ 8318:cc29ef9a2d84

Correct cast of matrix by cell or struct concatenation
author David Bateman <dbateman@free.fr>
date Wed, 12 Nov 2008 15:45:00 +0100
parents a73b80cd1f10
children eb63fbe60fab
line wrap: on
line diff
--- a/src/OPERATORS/op-struct.cc	Wed Nov 12 12:31:56 2008 +0000
+++ b/src/OPERATORS/op-struct.cc	Wed Nov 12 15:45:00 2008 +0100
@@ -69,7 +69,7 @@
 			 const Array<octave_idx_type>&)
 {
   octave_value retval;
-  CAST_BINOP_ARGS (const octave_struct&, const octave_matrix&);
+  CAST_BINOP_ARGS (const octave_matrix&, const octave_struct&);
   NDArray tmp = v1.array_value ();
   dim_vector dv = tmp.dims ();
   if (dv.all_zero ())