Skip to content

Commit

Permalink
Merge pull request #1 from hasanfd/patch-1
Browse files Browse the repository at this point in the history
Update Population.java
  • Loading branch information
mayconbordin authored Apr 3, 2017
2 parents 2ced48b + 7b70b30 commit d38b370
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/cdr/gen/Population.java
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ protected RandomGaussian getRandomGaussian(long stdDev, long mean) {

do {
gaussNum = RandomGaussian.generate(stdDev, mean);
} while (gaussNum.getValueOne() < 1 && gaussNum.getValueTwo() < 1);
} while (gaussNum.getValueOne() < 1 || gaussNum.getValueTwo() < 1);

return gaussNum;
}
Expand Down

0 comments on commit d38b370

Please sign in to comment.