diff --git a/euclid.cpp b/euclid.cpp index c738c00c..55265a41 100644 --- a/euclid.cpp +++ b/euclid.cpp @@ -71,8 +71,7 @@ EX namespace euc { break; default: - printf("euc::get_shifttable() called in geometry that is not euclid3"); - exit(1); + throw hr_exception("euc::get_shifttable() called in geometry that is not euclid3"); } // reverse everything