Skip to content

Commit

Permalink
fix: model specification added to binding frozen model test case
Browse files Browse the repository at this point in the history
  • Loading branch information
phajy committed Jun 26, 2024
1 parent 2354a32 commit 5f7cca6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/fitting/test-binding.jl
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ _, mapping = SpectralFitting._build_parameter_mapping(prob.model, prob.bindings)
# note that this does not work at present because `_get_index_of_symbol` throws an error if the symbol is not found

# 3 models, 1 frozen parameter (that needs to be skipped), 1 bound parameter
model1 = PowerLaw() + PowerLaw()
prob = FittingProblem(model1 => dummy_data1, model1 => dummy_data1, model1 => dummy_data1)
model1.K_1.frozen = true
bind!(prob, :a_1)
Expand Down

0 comments on commit 5f7cca6

Please sign in to comment.