From c60344871821d291913a46a58cd3f57139ed34cb Mon Sep 17 00:00:00 2001 From: Dhairya Gandhi Date: Thu, 11 Sep 2025 13:50:32 +0000 Subject: [PATCH] chore: allow subsetting Initials in subset_tunables --- src/parameters.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parameters.jl b/src/parameters.jl index 93c74e36a9..9e6434c230 100644 --- a/src/parameters.jl +++ b/src/parameters.jl @@ -164,7 +164,7 @@ function subset_tunables(sys, new_tunables) throw(ArgumentError("Tunable parameters can only be changed for split systems.")) end - cur_tunables = tunable_parameters(sys, parameters(sys)) + cur_tunables = tunable_parameters(sys, tunable_parameters(sys)) diff_params = setdiff(cur_tunables, new_tunables) if !isempty(setdiff(new_tunables, cur_tunables))