Skip to content

Commit

Permalink
bugfix examples
Browse files Browse the repository at this point in the history
  • Loading branch information
gdmiron authored Jan 5, 2024
1 parent ec1cbf3 commit ecbe6cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"});
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit ecbe6cd

Please sign in to comment.