Skip to content

Commit 0cd97a6

Browse files
committed
C++17 fix
1 parent e188342 commit 0cd97a6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

libs/ceres/internal/ceres/schur_eliminator_impl.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,10 @@ Init(int num_eliminate_blocks, const CompressedRowBlockStructure* bs) {
149149
const Chunk& chunk = chunks_.back();
150150

151151
uneliminated_row_begins_ = chunk.start + chunk.size;
152-
if (num_threads_ > 1) {
153-
random_shuffle(chunks_.begin(), chunks_.end());
154-
}
152+
// https://github.com/ceres-solver/ceres-solver/commit/1e8e9452d0a7dfaf5697b544810798a58e35443e
153+
// if (num_threads_ > 1) {
154+
// random_shuffle(chunks_.begin(), chunks_.end());
155+
// }
155156

156157
buffer_.reset(new double[buffer_size_ * num_threads_]);
157158

0 commit comments

Comments
 (0)