From ecbe6cdc82221c04f051249b553030378e2fcc0f Mon Sep 17 00:00:00 2001 From: George Dan Miron <44091914+gdmiron@users.noreply.github.com> Date: Fri, 5 Jan 2024 10:20:24 +0100 Subject: [PATCH] bugfix examples --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 71011a8..a629c2b 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ More information on Jupyter Notebooks: [Jupyter Documentation](https://jupyter.r int main() { // Create the batch object using a database file in JSON - ThermoFun::Batch batch("Resources/Databases/aq17-thermofun.json"); + ThermoFun::ThermoBatch batch("Resources/Databases/aq17-thermofun.json"); // Optional: set units, default units are in SI batch.setPropertiesUnits({"temperature", "pressure"},{"degC","bar"}); @@ -71,7 +71,7 @@ int main() ThermoFun::Database db(dbc.getDatabase('aq17')); // Initialize an batch object using the database - ThermoFun::Batch batch (db); + ThermoFun::ThermoBatch batch (db); // Optional set calculation and output preferences ThermoFun::OutputSettings op;