Skip to content

Commit

Permalink
🩹 Bugfix Use normalized initial_concentrations in result creation fo…
Browse files Browse the repository at this point in the history
…r decay megacomplex (#927)

Bugfix also back-ported to v0.4 maintenance branch in PR #935
  • Loading branch information
joernweissenborn authored Dec 12, 2021
1 parent 3c435e1 commit 4a44404
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glotaran/builtin/megacomplexes/decay/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def retrieve_decay_associated_data(

matrix = k_matrix.full(species)
matrix_reduced = k_matrix.reduced(species)
a_matrix = k_matrix.a_matrix(dataset_model.initial_concentration)
a_matrix = k_matrix.a_matrix(dataset_model.initial_concentration.normalized())
rates = k_matrix.rates(dataset_model.initial_concentration)
lifetimes = 1 / rates

Expand Down

0 comments on commit 4a44404

Please sign in to comment.