Skip to content

Commit

Permalink
fix more bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis-Titov committed Jun 8, 2024
1 parent 04b1719 commit 2bbfbfc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/data_driven_rate_equation_selection.jl
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,10 @@ function data_driven_rate_equation_selection(
end

#calculate starting_param_removal_codes num_param_range[1] parameters
all_param_removal_codes = calculate_all_parameter_removal_codes(param_names)
starting_param_removal_codes = calculate_all_parameter_removal_codes_w_num_params(
num_param_range[1],
all_param_removal_codes,
param_names,
num_alpha_params,
)
Expand Down Expand Up @@ -254,10 +256,10 @@ end
"""Generate codes for ways that params can be removed from the rate equation but still leave `num_params`"""
function calculate_all_parameter_removal_codes_w_num_params(
num_params,
all_param_removal_codes,
param_names,
num_alpha_params,
)
all_param_removal_codes = calculate_all_parameter_removal_codes(param_names)
codes_with_num_params = Tuple[]
num_non_zero_in_each_code = Int[]
for code in all_param_removal_codes
Expand Down

0 comments on commit 2bbfbfc

Please sign in to comment.