Commit 25a5afce authored by Gordian Edenhofer's avatar Gordian Edenhofer
Browse files Harden fluctuations property

Convert the return list of operators to a tuple as to disallow the
caller to amend or change it in other ways.
parent 1cc3f5c2
......@@ -756,7 +756,7 @@ class CorrelatedFieldMaker:
def fluctuations(self):
"""Returns the added fluctuations operators used in the model"""
return self._a
return tuple(self._a)
def get_normalized_amplitudes(self):
"""Returns the normalized amplitude operators used in the final model
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