We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9374ac6 + f380f3d commit 6808fa2Copy full SHA for 6808fa2
1 file changed
src/io/file/mda_io.cpp
@@ -1254,9 +1254,8 @@ void MDA_IO<T_real>::_load_extra_pvs_vector()
1254
{
1255
tokens.push_back(token);
1256
}
1257
- if(tokens.size() > 2)
+ if(tokens.size() > 2 && _scan_info.scaler_maps.size() > 0)
1258
1259
-
1260
auto o_map = _scan_info.scaler_maps.at(0);
1261
data_struct::Scaler_Map<T_real> s_map;
1262
s_map.values.resize(o_map.values.rows(), o_map.values.cols());
0 commit comments