laerror use std::exception

This commit is contained in:
Jiri Pittner 2022-10-31 12:53:35 +01:00
parent 4e2ee8a14e
commit 4a8e008811
2 changed files with 2 additions and 1 deletions

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
t.cc
View File

@ -2726,6 +2726,7 @@ cout <<"nonpseudounitarity of explicit uubar = "<<uubartest2c.norm(1.)<<endl;
if(1) if(1)
{ {
laerror("test exception");
} }