bug did not give error when switching to hdf5

This commit is contained in:
Dhanya Maliakal
2017-07-28 11:54:22 +02:00
parent 5713cd6092
commit 88b6fabb0d
3 changed files with 7 additions and 5 deletions

View File

@ -114,10 +114,11 @@ void UDPStandardImplementation::setFileFormat(const fileFormat f){
switch(f){
#ifdef HDF5C
case HDF5:
fileFormatType = f;
fileFormatType = HDF5;
break;
#endif
default:
fileFormatType = f;
fileFormatType = BINARY;
break;
}
//destroy file writer, set file format and create file writer