File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -465,9 +465,7 @@ std::optional<smtutil::Expression> CHCSmtLib2Interface::invariantsFromSolverResp
465
465
smtSolverInteractionRequire (isAtom (nameSortPair[0 ]), " Invalid format of CHC model" );
466
466
SortPointer varSort = scopedParser.toSort (nameSortPair[1 ]);
467
467
scopedParser.addVariableDeclaration (asAtom (nameSortPair[0 ]), varSort);
468
- // FIXME: Why Expression here?
469
- Expression arg = scopedParser.toSMTUtilExpression (nameSortPair[0 ]);
470
- predicateArgs.push_back (arg);
468
+ predicateArgs.push_back (scopedParser.toSMTUtilExpression (nameSortPair[0 ]));
471
469
}
472
470
473
471
auto parsedInterpretation = scopedParser.toSMTUtilExpression (interpretation);
@@ -479,6 +477,7 @@ std::optional<smtutil::Expression> CHCSmtLib2Interface::invariantsFromSolverResp
479
477
});
480
478
481
479
Expression predicate (asAtom (args[1 ]), predicateArgs, SortProvider::boolSort);
480
+ // FIXME: Why do we need to represent the predicate as Expression?
482
481
definitions.push_back (predicate == parsedInterpretation);
483
482
}
484
483
return Expression::mkAnd (std::move (definitions));
You can’t perform that action at this time.
0 commit comments