File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1414#include " ortools/sat/probing.h"
1515
1616#include < algorithm>
17+ #include < cstdint>
1718#include < deque>
1819#include < functional>
1920#include < optional>
@@ -103,8 +104,8 @@ class TrailCopy {
103104 }
104105 trail_index_[var] = i;
105106 trail_literals_.push_back (literal);
106- trail_info_.push_back ({ info.level , assignment_type, reason,
107- reason_clause} );
107+ trail_info_.emplace_back ( info.level , assignment_type, reason,
108+ reason_clause);
108109 }
109110
110111 const int num_decisions = trail_.CurrentDecisionLevel ();
@@ -232,7 +233,7 @@ class TrailCopy {
232233 }
233234
234235 struct TrailInfo {
235- int level;
236+ uint32_t level;
236237 int assignment_type;
237238 // For literals propagated by the BinaryImplicationGraph, the negation of
238239 // the original reason. For literals propagated by the ClauseManager, *all*
You can’t perform that action at this time.
0 commit comments