Corrected number of spheres to print out in ReadSpherePacking
This commit is contained in:
parent
36be44b840
commit
0e995e49b4
@ -39,7 +39,7 @@ inline void ReadSpherePacking(int nspheres, double *List_cx, double *List_cy, do
|
|||||||
List_rad[count] = strtod(line2,&line2);
|
List_rad[count] = strtod(line2,&line2);
|
||||||
count++;
|
count++;
|
||||||
}
|
}
|
||||||
cout << "Number of spheres extracted is: " << count/4 << endl;
|
cout << "Number of spheres extracted is: " << count << endl;
|
||||||
INSIST( count==nspheres, "Specified number of spheres is probably incorrect!" );
|
INSIST( count==nspheres, "Specified number of spheres is probably incorrect!" );
|
||||||
// .............................................................
|
// .............................................................
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user