Skip to content

fixes error in number of nucleon calculation#55

Merged
grzanka merged 1 commit into
masterfrom
range-of-ions
Apr 1, 2022
Merged

fixes error in number of nucleon calculation#55
grzanka merged 1 commit into
masterfrom
range-of-ions

Conversation

@grzanka
Copy link
Copy Markdown
Contributor

@grzanka grzanka commented Apr 1, 2022

Related to #53

Fixes bug introduced in https://github.com/APTG/libdedx/pull/47/files#diff-db8662a3000b58ec9c1af55644e2abd7cc57028222892347f487fd11fc024199R166
where both atomic number Z (here config->ion) and nucleon number A (config->ion_a) were set to the same number (atomic number Z) :

   config->ion = ion;
    config->program = program;
    config->ion_a = ion;

The problem is fixed by introducing a new table with nucleon numbers for most abundant isotopes

@grzanka grzanka self-assigned this Apr 1, 2022
@grzanka grzanka merged commit dc712ac into master Apr 1, 2022
@grzanka grzanka deleted the range-of-ions branch April 1, 2022 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant