Skip to content

Commit

Permalink
Build fixes 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Young committed Sep 17, 2024
1 parent 3ebbe85 commit ccf3da6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/model/Recipe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2873,7 +2873,7 @@ double Recipe::ibuFromHopAddition(RecipeAdditionHop const & hopAddition) {
// Assume 100% utilization until further notice
double hopUtilization = 1.0;
// Assume 60 min boil until further notice
int boilTime_mins = 60;
double boilTime_mins = 60.0;

// NOTE: we used to carefully calculate the average boil gravity and use it in the
// IBU calculations. However, due to John Palmer
Expand All @@ -2896,7 +2896,7 @@ double Recipe::ibuFromHopAddition(RecipeAdditionHop const & hopAddition) {
.hops_grams = grams,
.postBoilVolume_liters = this->pimpl->m_finalVolumeNoLosses_l,
.wortGravity_sg = m_og,
.boilTime_minutes = static_cast<int>(boilTime_mins), // Seems unlikely in reality that there would be fractions of a minute
.boilTime_minutes = boilTime_mins, // Seems unlikely in reality that there would be fractions of a minute
.coolTime_minutes = boil->coolTime_mins(),
.kettleInternalDiameter_cm = equipment->kettleInternalDiameter_cm(),
.kettleOpeningDiameter_cm = equipment->kettleOpeningDiameter_cm (),
Expand Down

0 comments on commit ccf3da6

Please sign in to comment.