aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/store-reasoning-scope/src/main/java/tools/refinery/store/reasoning/scope/ScopePropagator.java
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/store-reasoning-scope/src/main/java/tools/refinery/store/reasoning/scope/ScopePropagator.java')
-rw-r--r--subprojects/store-reasoning-scope/src/main/java/tools/refinery/store/reasoning/scope/ScopePropagator.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/subprojects/store-reasoning-scope/src/main/java/tools/refinery/store/reasoning/scope/ScopePropagator.java b/subprojects/store-reasoning-scope/src/main/java/tools/refinery/store/reasoning/scope/ScopePropagator.java
index bfe2ca41..94e6bbd7 100644
--- a/subprojects/store-reasoning-scope/src/main/java/tools/refinery/store/reasoning/scope/ScopePropagator.java
+++ b/subprojects/store-reasoning-scope/src/main/java/tools/refinery/store/reasoning/scope/ScopePropagator.java
@@ -48,7 +48,7 @@ public class ScopePropagator implements ModelStoreConfiguration {
48 } 48 }
49 var newValue = scopes.compute(type, (ignoredKey, oldValue) -> 49 var newValue = scopes.compute(type, (ignoredKey, oldValue) ->
50 oldValue == null ? interval : oldValue.meet(interval)); 50 oldValue == null ? interval : oldValue.meet(interval));
51 if (newValue.isEmpty()) { 51 if (newValue.isError()) {
52 throw new TranslationException(type, "Unsatisfiable scope for type %s".formatted(type)); 52 throw new TranslationException(type, "Unsatisfiable scope for type %s".formatted(type));
53 } 53 }
54 return this; 54 return this;