From 3b03b1dfccb5247f3ca40c671567bc1d8ffa34d0 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 10 Oct 2025 10:17:32 +0200 Subject: [PATCH] arbiquotient:: preunify error message --- arbiquotient.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arbiquotient.cpp b/arbiquotient.cpp index c22b6003..e1567afe 100644 --- a/arbiquotient.cpp +++ b/arbiquotient.cpp @@ -356,6 +356,12 @@ void auto_create(int num) { } for(auto p: preunify) { + if(!aq.count(p.at)) { + unifications.clear(); + addMessage("preunify outside of the searched region"); + return; + } + unifications.emplace_back(cw0, p); aq.at(p.at).unified_to_start = true; }