We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c3125c commit 4355671Copy full SHA for 4355671
1 file changed
lib/nacs-seq/env.cpp
@@ -608,9 +608,9 @@ NACS_INTERNAL bool Env::optimize_global()
608
return a->m_varid > b->m_varid;
609
});
610
#ifndef NDEBUG
611
- std::is_sorted(branches.begin(), branches.end(), [&] (Var *a, Var *b) {
+ assert(std::is_sorted(branches.begin(), branches.end(), [&] (Var *a, Var *b) {
612
613
- });
+ }));
614
assert(branches.front() == root);
615
#endif
616
// Now the branches are in the reverse order that we'll evaluate them
0 commit comments