From 886a64fd1376882e747474eb3fefe6bd6d7c7f1f Mon Sep 17 00:00:00 2001
From: Ian Bell <ian.bell@nist.gov>
Date: Thu, 26 Aug 2021 17:15:18 -0400
Subject: [PATCH] Bump version to 0.10.1

---
 include/teqp/models/multifluid.hpp | 20 ++++++++++----------
 setup.py                           |  4 ++--
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/include/teqp/models/multifluid.hpp b/include/teqp/models/multifluid.hpp
index 611ccd1..8c3db01 100644
--- a/include/teqp/models/multifluid.hpp
+++ b/include/teqp/models/multifluid.hpp
@@ -772,16 +772,16 @@ auto build_multifluid_mutant(Model& model, const nlohmann::json& jj) {
 
                 auto BIP = entry["BIP"];
                 // Set the reducing function parameters in the copy
-                betaT(i, j) = BIP["betaT"];
+                betaT(i, j) = BIP.at("betaT");
                 betaT(j, i) = 1 / red.betaT(i, j);
-                betaV(i, j) = BIP["betaV"];
+                betaV(i, j) = BIP.at("betaV");
                 betaV(j, i) = 1 / red.betaV(i, j);
-                gammaT(i, j) = BIP["gammaT"]; gammaT(j, i) = gammaT(i, j);
-                gammaV(i, j) = BIP["gammaV"]; gammaV(j, i) = gammaV(i, j);
+                gammaT(i, j) = BIP.at("gammaT"); gammaT(j, i) = gammaT(i, j);
+                gammaV(i, j) = BIP.at("gammaV"); gammaV(j, i) = gammaV(i, j);
 
                 // Build the matrix of F and departure functions
                 auto dep = entry["departure"];
-                F(i, j) = BIP["Fij"];
+                F(i, j) = BIP.at("Fij");
                 F(j, i) = F(i, j);
                 funcs[i][j] = build_departure_function(dep);
                 funcs[j][i] = build_departure_function(dep);
@@ -827,19 +827,19 @@ auto build_multifluid_mutant_invariant(Model& model, const nlohmann::json& jj) {
 
                 auto BIP = entry["BIP"];
                 // Set the reducing function parameters in the copy
-                phiT(i, j) = BIP["phiT"];
+                phiT(i, j) = BIP.at("phiT");
                 phiT(j, i) = phiT(i, j);
-                lambdaT(i, j) = BIP["lambdaT"]; 
+                lambdaT(i, j) = BIP.at("lambdaT"); 
                 lambdaT(j, i) = -lambdaT(i, j);
 
-                phiV(i, j) = BIP["phiV"];
+                phiV(i, j) = BIP.at("phiV");
                 phiV(j, i) = phiV(i, j);
-                lambdaV(i, j) = BIP["lambdaV"]; 
+                lambdaV(i, j) = BIP.at("lambdaV"); 
                 lambdaV(j, i) = -lambdaV(i, j);
 
                 // Build the matrix of F and departure functions
                 auto dep = entry["departure"];
-                F(i, j) = BIP["Fij"];
+                F(i, j) = BIP.at("Fij");
                 F(j, i) = F(i, j);
                 funcs[i][j] = build_departure_function(dep);
                 funcs[j][i] = build_departure_function(dep);
diff --git a/setup.py b/setup.py
index fed119e..b4c8ca2 100644
--- a/setup.py
+++ b/setup.py
@@ -10,7 +10,7 @@ from setuptools import setup, Extension
 from setuptools.command.build_ext import build_ext
 from distutils.version import LooseVersion
 
-VERSION = '0.1.0'
+VERSION = '0.1.1'
 with open('interface/teqpversion.hpp','w') as fpver:
     fpver.write(f'#include <string>\nconst std::string TEQPVERSION = "{VERSION}";')
 
@@ -72,4 +72,4 @@ setup(
     ext_modules=[CMakeExtension('teqp')],
     cmdclass=dict(build_ext=CMakeBuild),
     zip_safe=False,
-)
+)
\ No newline at end of file
-- 
GitLab