DmitrMakeev commited on
Commit
58942b4
·
verified ·
1 Parent(s): 7668011

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -887,7 +887,7 @@ class NutrientCalculator:
887
 
888
  total_weight = sum(c['weight'] for c in candidates)
889
  for candidate in candidates:
890
- share = candidate['weight'] / total_weight
891
  ppm_to_apply = needed * share
892
  self._apply(candidate['name'], element, ppm_to_apply)
893
  })
 
887
 
888
  total_weight = sum(c['weight'] for c in candidates)
889
  for candidate in candidates:
890
+ share = candidate['weight'] / total_weight
891
  ppm_to_apply = needed * share
892
  self._apply(candidate['name'], element, ppm_to_apply)
893
  })