3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-04 16:44:08 +00:00

ezsat: fix incorrect logging references to function names

This commit is contained in:
Emil J. Tywoniak 2025-03-19 10:33:28 +01:00
parent 6da543a61a
commit 613a17b4a8

View file

@ -676,10 +676,10 @@ void ezSAT::preSolverCallback()
bool ezSAT::solver(const std::vector<int>&, std::vector<bool>&, const std::vector<int>&)
{
preSolverCallback();
fprintf(stderr, "************************************************************************\n");
fprintf(stderr, "ERROR: You are trying to use the solve() method of the ezSAT base class!\n");
fprintf(stderr, "*************************************************************************\n");
fprintf(stderr, "ERROR: You are trying to use the solver() method of the ezSAT base class!\n");
fprintf(stderr, "Use a dervied class like ezMiniSAT instead.\n");
fprintf(stderr, "************************************************************************\n");
fprintf(stderr, "*************************************************************************\n");
abort();
}
@ -1332,7 +1332,7 @@ void ezSAT::printInternalState(FILE *f) const
fprintf(f, "\n");
}
if (cnfConsumed)
fprintf(f, " *** more clauses consumed via cnfConsume() ***\n");
fprintf(f, " *** more clauses consumed via consumeCnf() ***\n");
fprintf(f, "--8<-- snap --8<--\n");
}