diff liboctave/idx-vector.cc @ 5108:10004c9625c3

[project @ 2005-01-18 20:05:10 by jwe]
author jwe
date Tue, 18 Jan 2005 20:05:10 +0000
parents e35b034d3523
children 23b37da9fd5b
line wrap: on
line diff
--- a/liboctave/idx-vector.cc	Wed Jan 12 19:49:18 2005 +0000
+++ b/liboctave/idx-vector.cc	Tue Jan 18 20:05:10 2005 +0000
@@ -585,11 +585,11 @@
 	      if (warn_resize && max_val >= z_len)
 		{
 		  if (tag)
-		    (*current_liboctave_error_handler)
+		    (*current_liboctave_warning_handler)
 		      ("resizing object with %s index = %d out of bounds",
 		       tag, max_val+1);
 		  else
-		    (*current_liboctave_error_handler)
+		    (*current_liboctave_warning_handler)
 		      ("resizing object with index = %d out of bounds",
 		       max_val+1);
 		}