consistently return "memory_usage" as double.

This commit is contained in:
Axel Kohlmeyer
2020-09-14 21:38:52 -04:00
parent 101d39142e
commit 0183e999c9
81 changed files with 131 additions and 131 deletions

View File

@ -153,9 +153,9 @@ int NBin::coord2bin(double *x)
/* ---------------------------------------------------------------------- */
bigint NBin::memory_usage()
double NBin::memory_usage()
{
bigint bytes = 0;
double bytes = 0;
bytes += maxbin*sizeof(int);
bytes += 2*maxatom*sizeof(int);
return bytes;