Skip to content

Commit

Permalink
fix profiler SIPS not considering propositions cheaper than fully-bou…
Browse files Browse the repository at this point in the history
…nd non-propositions
  • Loading branch information
Olivier Hamel committed Mar 31, 2022
1 parent 06af5f1 commit 68294e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ast/utility/SipsMetric.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ std::vector<double> ProfileUseSips::evaluateCosts(
// prioritise propositions
std::size_t arity = atom->getArity();
if (arity == 0) {
cost.push_back(0);
cost.push_back(-1); // cheaper than any non-proposition
continue;
}

Expand Down

0 comments on commit 68294e6

Please sign in to comment.