Bug fixes.
Introduced when we increased the size of the mat files saved on disk (see commit #e2942662479f822cd4ca1251158f0b5037c3a446).time-shift
parent
64d01a806e
commit
a91e4dec75
|
@ -57,6 +57,7 @@ NumberOfElementsPerFile = ceil(options_.MaxNumberOfBytes/NumberOfParameters/Numb
|
|||
|
||||
if NumberOfSimulations <= NumberOfElementsPerFile
|
||||
TableOfInformations = [ 1 , NumberOfSimulations , 1] ;
|
||||
NumberOfFiles = 1;
|
||||
else
|
||||
NumberOfFiles = ceil(NumberOfSimulations/NumberOfElementsPerFile) ;
|
||||
NumberOfElementsInTheLastFile = NumberOfSimulations - NumberOfElementsPerFile*(NumberOfFiles-1) ;
|
||||
|
|
Loading…
Reference in New Issue