Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
nmacedo committed Feb 23, 2021
2 parents 3196aaf + 42f3fb8 commit d3e7aea
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/main/java/kodkod/instance/PardinusBounds.java
Original file line number Diff line number Diff line change
Expand Up @@ -196,10 +196,14 @@ static public PardinusBounds splitAtTemporal(PardinusBounds bounds) {
// in this automatic splitting they are irrelevant any way, since static are resolved first
List<Relation> problematic = new LinkedList<Relation>();
Set<Relation> rs = b.relations_symb;
for (Relation r : rs)
for (Relation d : b.symbolic.deps.get(r))
if (d.isVariable())
problematic.add(r);
for (Relation r : rs) {
if (r.isVariable())
problematic.add(r);
else
for (Relation d : b.symbolic.deps.get(r))
if (d.isVariable())
problematic.add(r);
}

rs.removeAll(problematic);

Expand Down

0 comments on commit d3e7aea

Please sign in to comment.