Skip to content

Commit

Permalink
Fix fixed value indexing
Browse files Browse the repository at this point in the history
  • Loading branch information
teddygroves committed Oct 16, 2023
1 parent 88afed9 commit de1f2f0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions maud/getting_stan_inputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,7 @@ def get_fixed_param_input(
"ix_dgf_free": [
v for k, v in codes.items() if k not in dgf.fixed_ids[0]
],
"ix_dgf_fixed": [
v for k, v in codes.items() if k in dgf.fixed_ids[0]
],
"ix_dgf_fixed": [codes[k] for k in dgf.fixed_ids[0]],
}


Expand Down

0 comments on commit de1f2f0

Please sign in to comment.