fixed more fallthroughs, added exception hr_wrong_geometry

This commit is contained in:
Zeno Rogue
2021-03-12 22:59:24 +01:00
parent eb6322b864
commit 5f86ed6b4b
4 changed files with 8 additions and 2 deletions
+3 -1
View File
@@ -426,10 +426,12 @@ EX namespace sn {
case 7:
case 8:
return xpush(bw*(4.5-j)) * zpush(-1) * ypush(bw*(i-7));
default:
throw hr_wrong_dir;
}
}
default: throw "not nihsolv";
default: throw hr_wrong_geometry;
}
}