src/EditProductTab4.cpp

changeset 413
8ea791d4cab6
parent 399
4b9aaf86094e
child 440
349c0c5bd512
--- a/src/EditProductTab4.cpp	Sun Oct 09 15:26:42 2022 +0200
+++ b/src/EditProductTab4.cpp	Mon Oct 10 12:55:05 2022 +0200
@@ -263,13 +263,13 @@
 			   product->brew_cooling_method, 0, 0, product->hops.at(i).utilisation, product->hops.at(i).bu_factor);
 	if (product->stage > PROD_STAGE_BREW)
 	    ferm_ibus += Utils::toIBU(product->hops.at(i).useat, product->hops.at(i).form, product->brew_preboil_sg, product->brew_fermenter_sg,
-                           product->brew_fermenter_volume + product->brew_fermenter_tcloss, product->hops.at(i).amount,
+                           product->brew_fermenter_volume + product->brew_fermenter_tcloss + product->boil_absorb, product->hops.at(i).amount,
                            product->hops.at(i).time, product->hops.at(i).alpha, product->ibu_method,
                            product->brew_whirlpool9, product->brew_whirlpool7, product->brew_whirlpool6, product->boil_time,
                            product->brew_cooling_method, 0, 0, product->hops.at(i).utilisation, product->hops.at(i).bu_factor);
 	else
 	    ferm_ibus += Utils::toIBU(product->hops.at(i).useat, product->hops.at(i).form, product->preboil_sg, product->est_og3,
-			   product->brew_fermenter_volume + product->brew_fermenter_tcloss, product->hops.at(i).amount,
+			   product->brew_fermenter_volume + product->brew_fermenter_tcloss + product->boil_absorb, product->hops.at(i).amount,
                            product->hops.at(i).time, product->hops.at(i).alpha, product->ibu_method,
 			   product->brew_whirlpool9, product->brew_whirlpool7, product->brew_whirlpool6, product->boil_time,
 			   product->brew_cooling_method, 0, 0, product->hops.at(i).utilisation, product->hops.at(i).bu_factor);

mercurial