Skip to content

Commit

Permalink
fix: summation field annotation when assigned
Browse files Browse the repository at this point in the history
  • Loading branch information
jobo322 committed Oct 12, 2021
1 parent 2ed479b commit 5752608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data/utilities/ZoneUtilities.ts
Expand Up @@ -11,7 +11,7 @@ export function getDiaIDs(zone, axis) {

export function getPubIntegral(zone, axis) {
return (
zone.nbAtoms ||
zone[axis].nbAtoms ||
(zone.signals
? zone.signals.reduce(
(sum, signal) =>
Expand Down

0 comments on commit 5752608

Please sign in to comment.