Skip to content

Commit

Permalink
Fix typo and bug in EnrichmentCalculator
Browse files Browse the repository at this point in the history
  • Loading branch information
maxschalz committed Oct 5, 2020
1 parent 2df49f1 commit 19d00f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/enrichment_calculator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ void EnrichmentCalculator::Downblend_() {
blend_feed = blend_feed_per_product * product_qty;
}
if (blend_feed+product_qty > TARGET_PRODUCT_QTY
&& !cyclus::AlmostEq(blend_feed+feed_qty, TARGET_PRODUCT_QTY)) {
&& !cyclus::AlmostEq(blend_feed+product_qty, TARGET_PRODUCT_QTY)) {
target_product_qty /= 1 + blend_feed_per_product;
CalculateFlows_();

Expand Down

0 comments on commit 19d00f0

Please sign in to comment.