laerror use std::exception

This commit is contained in:
jiri committed 2022-10-31 12:53:35 +01:00
1 parent 4e2ee8a14e
commit 4a8e008811
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ extern bool _LA_count_check; //intentionally not const
//exception class for laerror //exception class for laerror
class LAerror class LAerror : public std::exception
{ {
public: public:
const char *msg; const char *msg;
+1
View File
@@ -2726,6 +2726,7 @@ cout <<"nonpseudounitarity of explicit uubar = "<<uubartest2c.norm(1.)<<endl;
if(1) if(1)
{ {
laerror("test exception");
} }