diff liboctave/CDiagMatrix.cc @ 4513:508238e65af7

[project @ 2003-09-19 21:40:57 by jwe]
author jwe
date Fri, 19 Sep 2003 21:41:21 +0000
parents 5719210fff4c
children 334a27c8f453
line wrap: on
line diff
--- a/liboctave/CDiagMatrix.cc
+++ b/liboctave/CDiagMatrix.cc
@@ -545,7 +545,8 @@
 	}
     }
   else
-    std::cerr << "diag: requested diagonal out of range\n";
+    (*current_liboctave_error_handler)
+      ("diag: requested diagonal out of range");
 
   return d;
 }