From cb15dc881e67b9b6ae575459f677706cd39d5559 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 7 Apr 2025 22:52:58 +0200 Subject: [PATCH] added a message to 'no cat in hash' exception in euc --- euclid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/euclid.cpp b/euclid.cpp index 34336d50..fe13aca0 100644 --- a/euclid.cpp +++ b/euclid.cpp @@ -589,7 +589,7 @@ EX namespace euc { auto cat = compute_cat(x); auto& st = cubemap()->shifttable; while(!hash.count(cat)) { - if(index == isize(seq)) throw hr_exception(); + if(index == isize(seq)) throw hr_exception("no cat in hash"); auto v = seq[index++]; for(auto s: st) add(v + s); }