mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-17 13:14:30 +00:00
rate limit some error messages
This commit is contained in:
1 parent
019711f818
commit
9521a01999
3 files changed
+16
-7
No files matched your search
+1
-1
@@ -1122,7 +1122,7 @@ EX ld det(const transmatrix& T) {
|
||||
|
||||
/** warning about incorrect inverse */
|
||||
void inverse_error(const transmatrix& T) {
|
||||
println(hlog, "Warning: inverting a singular matrix: ", T);
|
||||
rate_limited_error("Warning: inverting a singular matrix", lalign(0, ": ", T));
|
||||
}
|
||||
|
||||
/** inverse of a 3x3 matrix */
|
||||
|
||||
Reference in new issue
Block a user