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

@ -522,9 +522,9 @@ void Update::update_time()
memory usage of update and integrate/minimize
------------------------------------------------------------------------- */
bigint Update::memory_usage()
double Update::memory_usage()
{
bigint bytes = 0;
double bytes = 0;
if (whichflag == 1) bytes += integrate->memory_usage();
else if (whichflag == 2) bytes += minimize->memory_usage();
return bytes;