Commit 7295f58b authored by Peters, Wouter's avatar Peters, Wouter
Browse files

fixed bug with reading of statevector from file

parent 483c4f1a
......@@ -204,7 +204,7 @@ class StateVector(object):
for n in range(self.nlag):
for m in range(self.nmembers):
NewMember = EnsembleMember(m)
NewMember.ParameterValues = EnsembleMembers[n,m,:] + MeanState # add the mean to the deviations to hold the full parameter values
NewMember.ParameterValues = EnsembleMembers[n,m,:] + MeanState[n] # add the mean to the deviations to hold the full parameter values
dummy = self.EnsembleMembers[n].append(NewMember)
msg = 'Successfully read the State Vector from file (%s) ' % (filename,) ; logging.info(msg)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment