Brewtarget / brewtarget

Main brewtarget source code repository.
GNU General Public License v3.0
310 stars 134 forks source link

Fix for incorrect BrewNote calculation, plus small tidy-up of BtHorizontalTabs #790

Closed matty0ung closed 5 months ago

matty0ung commented 5 months ago

Fix for https://github.com/Brewtarget/brewtarget/issues/789 is correcting the following line of src/model/BrewNote.cpp:

double BrewNote::projVolIntoBK_l() const { return m_projVolIntoFerm_l; }

to:

double BrewNote::projVolIntoBK_l() const { return m_projVolIntoBK_l; }

The other changes are tidying up BtHorizontalTabs (specifically pulling code out of the header file into a .cpp file and adding some comments). This doesn't change functionality but is part of investigating https://github.com/Brewtarget/brewtarget/issues/787.