mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-12 12:08:19 +00:00
Merge pull request #4949 from YosysHQ/emil/ezsat-fix-function-names
ezsat: fix incorrect logging references to function names
This commit is contained in:
commit
29cf4a9190
|
@ -676,10 +676,10 @@ void ezSAT::preSolverCallback()
|
||||||
bool ezSAT::solver(const std::vector<int>&, std::vector<bool>&, const std::vector<int>&)
|
bool ezSAT::solver(const std::vector<int>&, std::vector<bool>&, const std::vector<int>&)
|
||||||
{
|
{
|
||||||
preSolverCallback();
|
preSolverCallback();
|
||||||
fprintf(stderr, "************************************************************************\n");
|
fprintf(stderr, "*************************************************************************\n");
|
||||||
fprintf(stderr, "ERROR: You are trying to use the solve() method of the ezSAT base class!\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, "Use a dervied class like ezMiniSAT instead.\n");
|
||||||
fprintf(stderr, "************************************************************************\n");
|
fprintf(stderr, "*************************************************************************\n");
|
||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1332,7 +1332,7 @@ void ezSAT::printInternalState(FILE *f) const
|
||||||
fprintf(f, "\n");
|
fprintf(f, "\n");
|
||||||
}
|
}
|
||||||
if (cnfConsumed)
|
if (cnfConsumed)
|
||||||
fprintf(f, " *** more clauses consumed via cnfConsume() ***\n");
|
fprintf(f, " *** more clauses consumed via consumeCnf() ***\n");
|
||||||
|
|
||||||
fprintf(f, "--8<-- snap --8<--\n");
|
fprintf(f, "--8<-- snap --8<--\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue