made observers accessible and observers now only weak reference the observables

This commit is contained in:
mzwiessele 2014-04-04 14:20:10 +01:00
parent 04a889b3a9
commit 11059fb615
3 changed files with 24 additions and 8 deletions

View file

@ -324,7 +324,7 @@ class ParamConcatenation(object):
if update:
self.update_all_params()
def values(self):
return numpy.hstack([p.param_array for p in self.params])
return numpy.hstack([p.param_array.flat for p in self.params])
#===========================================================================
# parameter operations:
#===========================================================================