BUG: Dumping to multiple files failed with an error message complaining about a missing 'append yes' option.

This commit is contained in:
Lars Pastewka
2018-01-28 14:23:05 +01:00
parent 5e9d257ec2
commit 4e4fd5f07c
2 changed files with 2 additions and 2 deletions

View File

@ -343,7 +343,7 @@ void DumpNetCDF::openfile()
if (framei <= 0) framei = nframes+framei+1;
if (framei < 1) framei = 1;
} else {
if (framei != 0)
if (framei != 0 && !multifile)
error->all(FLERR,"at keyword requires use of 'append yes'");
int dims[NC_MAX_VAR_DIMS];