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

@ -1172,9 +1172,9 @@ void Dump::pbc_allocate()
return # of bytes of allocated memory
------------------------------------------------------------------------- */
bigint Dump::memory_usage()
double Dump::memory_usage()
{
bigint bytes = memory->usage(buf,size_one*maxbuf);
double bytes = memory->usage(buf,size_one*maxbuf);
bytes += memory->usage(sbuf,maxsbuf);
if (sort_flag) {
if (sortcol == 0) bytes += memory->usage(ids,maxids);