Skip to content

Commit c603448

Browse files
chore: allow subsetting Initials in subset_tunables
1 parent 3c1eac3 commit c603448

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parameters.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ function subset_tunables(sys, new_tunables)
164164
throw(ArgumentError("Tunable parameters can only be changed for split systems."))
165165
end
166166

167-
cur_tunables = tunable_parameters(sys, parameters(sys))
167+
cur_tunables = tunable_parameters(sys, tunable_parameters(sys))
168168
diff_params = setdiff(cur_tunables, new_tunables)
169169

170170
if !isempty(setdiff(new_tunables, cur_tunables))

0 commit comments

Comments
 (0)