mirror of
https://gitlab.kit.edu/uskyk/typicalc.git
synced 2024-11-08 10:20:41 +00:00
Small bugfix
This commit is contained in:
parent
d9572665df
commit
4d0e0fea3e
@ -182,7 +182,6 @@ public class ExplanationCreatorUnification {
|
||||
}
|
||||
List<Substitution> substitutions = subs.unwrap();
|
||||
|
||||
List<Constraint> constraints = step.getConstraints();
|
||||
if (currentConstraint.getFirstType().equals(currentConstraint.getSecondType())) {
|
||||
// trivial constraint
|
||||
createTrivialConstraintText(currentConstraint);
|
||||
@ -196,8 +195,7 @@ public class ExplanationCreatorUnification {
|
||||
currentConstraint, substitutions.get(substitutions.size() - 1));
|
||||
} else {
|
||||
// both sides are functions
|
||||
createFunctionText(currentConstraint,
|
||||
constraints.get(constraints.size() - 1), constraints.get(constraints.size() - 2));
|
||||
createFunctionText(currentConstraint, step.getConstraints().get(0), step.getConstraints().get(1));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user