diff options
Diffstat (limited to 'Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu')
-rw-r--r-- | Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/ScopePropagator.xtend | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/ScopePropagator.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/ScopePropagator.xtend index df38337e..0acae00f 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/ScopePropagator.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/ScopePropagator.xtend | |||
@@ -75,7 +75,8 @@ class ScopePropagator { | |||
75 | if(this.partialInterpretation.maxNewElements > 0) { | 75 | if(this.partialInterpretation.maxNewElements > 0) { |
76 | this.partialInterpretation.maxNewElements = this.partialInterpretation.maxNewElements-1 | 76 | this.partialInterpretation.maxNewElements = this.partialInterpretation.maxNewElements-1 |
77 | } else if(this.partialInterpretation.maxNewElements === 0) { | 77 | } else if(this.partialInterpretation.maxNewElements === 0) { |
78 | throw new IllegalArgumentException('''Inconsistent object creation: lower node limit is 0!''') | 78 | this.partialInterpretation.maxNewElements = 0 |
79 | //throw new IllegalArgumentException('''Inconsistent object creation: lower node limit is 0!''') | ||
79 | } | 80 | } |
80 | 81 | ||
81 | // subScopes.get(targetScope).forEach[propagateUpperLimitDown(it,targetScope)] | 82 | // subScopes.get(targetScope).forEach[propagateUpperLimitDown(it,targetScope)] |