Fix maybe uninitialized warning (?)

This commit is contained in:
Mael Rouxel-Labbé 2020-02-10 18:18:13 +01:00
parent f0e594efbc
commit e5ac71fd38
1 changed files with 1 additions and 1 deletions

View File

@ -41,8 +41,8 @@ int main()
int n;
is >> n;
std::cout << "Reading " << n << " points " << std::endl;
Bare_point bp;
for( ; n>0 ; n--) {
Bare_point bp;
is >> bp;
Weighted_point p(bp, 0.0001 * random.get_double(0., 0.015625)); // arbitrary weights
pts.push_back(p);