diff liboctave/LinConst.cc @ 227:1a48a1b91489

[project @ 1993-11-15 10:10:35 by jwe]
author jwe
date Mon, 15 Nov 1993 10:11:59 +0000
parents 9a4c07481e61
children 780cbbc57b7c
line wrap: on
line diff
--- a/liboctave/LinConst.cc
+++ b/liboctave/LinConst.cc
@@ -27,14 +27,14 @@
 
 #include <iostream.h>
 #include "LinConst.h"
+#include "lo-error.h"
 
 // error handling
 
 void
 LinConst::error (const char* msg)
 {
-  cerr << "Fatal LinConst error. " << msg << "\n";
-  exit(1);
+  (*current_liboctave_error_handler) ("fatal LinConst error: %s", msg);
 }
 
 LinConst::LinConst (const Matrix& a_eq, const Vector& b_eq,