Fix optimizer step counter bug

pull/2841/head
wuyongkang 5 years ago
parent 19334b4f05
commit 4419881f2f

@ -184,7 +184,8 @@ class Optimizer : public std::enable_shared_from_this<Optimizer> {
}
}
};
use_profile ? (WITH(MsProfile::GetProfile()->Lap(counter++)) run_runc) : run_runc();
use_profile ? (WITH(MsProfile::GetProfile()->Lap(counter)) run_runc) : run_runc();
counter++;
if (run_only_once_) {
break;

Loading…
Cancel
Save