diff --git a/RTCP/Cobalt/CoInterface/src/Parset.cc b/RTCP/Cobalt/CoInterface/src/Parset.cc index 4974b5e43a0e06aa0e3dbed7031f494821416b42..f7caf0ea552d6b9d8711213b9f7780f432299bac 100644 --- a/RTCP/Cobalt/CoInterface/src/Parset.cc +++ b/RTCP/Cobalt/CoInterface/src/Parset.cc @@ -558,7 +558,7 @@ namespace LOFAR file.coherent = tab.coherent; file.stokesNr = s; file.streamNr = bfStreamNr++; - file.location = getFileLocation("Beamformed", tab.files[s].streamNr); + file.location = getFileLocation("Beamformed", file.streamNr); tab.files[s] = file; settings.beamFormer.files.push_back(file);