changeset 5540:cda6a105ae9a before-ov-branch

[project @ 2005-11-17 05:47:13 by jwe]
author jwe
date Thu, 17 Nov 2005 05:47:13 +0000
parents b800ae36fc6a
children 907860397781
files src/ChangeLog src/DLD-FUNCTIONS/minmax.cc
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,7 +1,12 @@
+2005-11-17  John W. Eaton  <jwe@octave.org>
+
+	* DLD-FUNCTIONS/minmax.cc (MINMAX_BODY): Don't cast arg1 to
+	const octave_complex_matrix&.
+
 2005-11-16  John W. Eaton  <jwe@octave.org>
 
 	* Makefile.in (PKG_ADD.inst): New target.
-	(install): Dependo on it.
+	(install-oct): Depend on it.
 	(clean): Remove it.
 
 	* mk-pkg-add: New option --install.  Don't use --prefix option.
--- a/src/DLD-FUNCTIONS/minmax.cc
+++ b/src/DLD-FUNCTIONS/minmax.cc
@@ -74,7 +74,7 @@
     } \
  \
   int dim; \
-  dim_vector dv = ((const octave_complex_matrix&) arg1) .dims (); \
+  dim_vector dv = arg1.dims (); \
   if (error_state) \
     { \
       gripe_wrong_type_arg (#FCN, arg1);  \