Skip to content

Commit

Permalink
Add [:] to source_setpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
wright-stuff committed Feb 19, 2019
1 parent 37aff26 commit 6a9e608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion attune/curve/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ def read(cls, filepath, subcurve=None):
setpoints = Setpoints(arr[0], setpoint_name, units[0])
if subcurve is not None:
kwargs["subcurve"] = subcurve
kwargs["source_setpoints"] = Dependent(setpoints, setpoint_name, units=units[0])
kwargs["source_setpoints"] = Dependent(setpoints[:], setpoint_name, units=units[0])
# finish
curve = cls(setpoints, dependents, **kwargs)
return curve
Expand Down

0 comments on commit 6a9e608

Please sign in to comment.