Skip to content

Commit 1bfd709

Browse files
Don't write debug output "Cannot compile arg=%i as B" to stderr
1 parent 0977915 commit 1bfd709

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -806,11 +806,11 @@ void Compile(const Strat* strat, Compilation& compilation, std::map<CompilationK
806806
for (size_t i = 0; i < strat->sub.size(); ++i) {
807807
const Compilation& comp = GetCompilation(strat->sub[i], pqs.first[i], pqs.second[i], cache);
808808
auto res_B = comp.Query("Bemdu"_mstf);
809-
if (res_B.size() == 0) {fprintf(stderr, "Cannot compile arg=%i as B\n", (int)i); return; }
809+
if (res_B.size() == 0) { return; }
810810
assert(res_B.size() == 1);
811811
Bs.push_back(std::move(res_B[0]));
812812
auto res_W = comp.Query("Wemdu"_mstf);
813-
if (res_W.size() == 0) {fprintf(stderr, "Cannot compile arg=%i as W\n", (int)i); return; }
813+
if (res_W.size() == 0) { return; }
814814
assert(res_W.size() == 1);
815815
Ws.push_back(std::move(res_W[0]));
816816
if (Ws.back().cost - Bs.back().cost > cost_diff) {

0 commit comments

Comments
 (0)