Skip to content

Commit

Permalink
fix some compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
fschloesser committed Jun 17, 2022
1 parent 16be114 commit 95f4e55
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions include/bliss/orbit.hh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
/*
Copyright (c) 2003-2021 Tommi Junttila
Released under the GNU Lesser General Public License version 3.
This file is part of bliss.
bliss is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, version 3 of the License.
Expand Down
2 changes: 1 addition & 1 deletion src/abstractgraph.cc
Original file line number Diff line number Diff line change
Expand Up @@ -944,7 +944,7 @@ AbstractGraph::search(const bool canonical,
else if(current_node.needs_long_prune)
{
current_node.needs_long_prune = false;
unsigned int begin = (current_node.long_prune_begin>long_prune_begin)?current_node.long_prune_begin:long_prune_begin;
begin = (current_node.long_prune_begin>long_prune_begin)?current_node.long_prune_begin:long_prune_begin;
for(unsigned int i = begin; i < long_prune_end; i++)
{
const std::vector<bool>& fixed = long_prune_get_fixed(i);
Expand Down
8 changes: 4 additions & 4 deletions src/digraph.cc
Original file line number Diff line number Diff line change
Expand Up @@ -877,10 +877,10 @@ Digraph::split_neighbourhood_of_cell(Partition::Cell* const cell)
{
for(unsigned int i = p.splitting_queue.size(); i > 0; i--)
{
Partition::Cell* const cell = p.splitting_queue.pop_front();
rest.update(cell->first);
rest.update(cell->length);
p.splitting_queue.push_back(cell);
Partition::Cell* const cell2 = p.splitting_queue.pop_front();
rest.update(cell2->first);
rest.update(cell2->length);
p.splitting_queue.push_back(cell2);
}
rest.update(failure_recording_fp_deviation);
failure_recording_fp_deviation = rest.get_value();
Expand Down
8 changes: 4 additions & 4 deletions src/graph.cc
Original file line number Diff line number Diff line change
Expand Up @@ -805,10 +805,10 @@ Graph::split_neighbourhood_of_cell(Partition::Cell* const cell)
{
for(unsigned int i = p.splitting_queue.size(); i > 0; i--)
{
Partition::Cell* const cell = p.splitting_queue.pop_front();
rest.update(cell->first);
rest.update(cell->length);
p.splitting_queue.push_back(cell);
Partition::Cell* const cell2 = p.splitting_queue.pop_front();
rest.update(cell2->first);
rest.update(cell2->length);
p.splitting_queue.push_back(cell2);
}
rest.update(failure_recording_fp_deviation);
failure_recording_fp_deviation = rest.get_value();
Expand Down

0 comments on commit 95f4e55

Please sign in to comment.