Skip to content

Commit

Permalink
merged Dev -> default
Browse files Browse the repository at this point in the history
  • Loading branch information
ebergamini committed Jun 23, 2016
1 parent 05774b1 commit 69d0b96
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion networkit/cpp/generators/HyperbolicGenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ Graph HyperbolicGenerator::generateCold(const vector<double> &angles, const vect
timer.start();
vector<double> empty;
GraphBuilder result(n, false, false);
bool suppressLeft = directSwap ? false : std::is_sorted(angles.begin(), angles.end());//relying on lazy evaluation here

#pragma omp parallel
{
Expand Down
3 changes: 1 addition & 2 deletions networkit/cpp/generators/quadtree/QuadNode.h
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ class QuadNode {
if (isLeaf) {
const count lsize = content.size();
TRACE("Leaf of size ", lsize);
for (int i = 0; i < lsize; i++) {
for (index i = 0; i < lsize; i++) {
//jump!
if (probUB < 1) {
double random = Aux::Random::real();
Expand All @@ -596,7 +596,6 @@ class QuadNode {
if (i >= lsize) break;
TRACE("Jumped with delta ", delta, " arrived at ", i);
}
assert(i >= 0);

//see where we've arrived
candidatesTested++;
Expand Down

0 comments on commit 69d0b96

Please sign in to comment.