Two more fixes

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@871 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2013-07-24 11:20:58 +00:00
parent b9df6c4040
commit 0510d14f62
2 changed files with 3 additions and 3 deletions

View File

@@ -75,7 +75,7 @@ RandomNumberGenerator::RandomNumberGenerator(const size_t _resolution) :
}
for ( unsigned int i = 0 ; i < iterations_ - 1; ++i ) {
maxNum_ *= (RAND_MAX + 1.0);
maxNum_ *= (RAND_MAX + 1);
}
}