src/EditRecipeTab1.cpp

changeset 397
877420a13815
parent 395
7212b980a527
child 407
c2166b972811
--- a/src/EditRecipeTab1.cpp	Wed Aug 17 15:23:17 2022 +0200
+++ b/src/EditRecipeTab1.cpp	Thu Aug 18 16:11:20 2022 +0200
@@ -40,12 +40,13 @@
     double re = ((0.1808 * ((Utils::sg_to_plato(recipe->st_og_min) + Utils::sg_to_plato(recipe->st_og_max)) / 2)) +
                 (0.8192 * ((Utils::sg_to_plato(fg_min) + Utils::sg_to_plato(recipe->st_fg_max)) / 2)));
 
-    /* BU:RE */
+    /*
+     * BU:RE
+     * Divide over average RE gives the best ranges.
+     */
     double bure_min = recipe->st_ibu_min / re;
     double bure_max = recipe->st_ibu_max / re;
     ui->est_bufguShow->setRange(bure_min, bure_max);
-
-    qDebug() << "BU:RE" << bure_min << bure_max;
 }
 
 
@@ -189,7 +190,6 @@
     adjustYeasts(factor);
     calcIBUs();
     calcWater();
-    //calcSparge();
     calcMash();
     is_changed();
     emit refreshAll();

mercurial