diff --git a/.gitignore b/.gitignore index 3f58435..ab5ee4d 100644 --- a/.gitignore +++ b/.gitignore @@ -69,6 +69,8 @@ subprojects/packagecache/ subprojects/hypre/ subprojects/qhull/ +qhull.wrap + .vscode/ *.log diff --git a/src/eos/private/helm.cpp b/src/eos/private/helm.cpp index 699627f..1c18b05 100644 --- a/src/eos/private/helm.cpp +++ b/src/eos/private/helm.cpp @@ -358,8 +358,8 @@ namespace serif::eos::helmholtz { // hash the table location in t, rho: jat = (log10(T) - tlo)*tstpi; jat = max(0, min(jat, table.jmax-1)); // bounds - iat = max(0, min(iat, table.imax-1)); // bounds iat = (log10(din)-dlo)*dstpi; + iat = max(0, min(iat, table.imax-1)); // bounds //using the indices, access the table: fi[0] = table.f[iat][jat]; diff --git a/subprojects/qhull.wrap b/subprojects/qhull.wrap deleted file mode 100644 index 3d31585..0000000 --- a/subprojects/qhull.wrap +++ /dev/null @@ -1,2 +0,0 @@ -[wrap-redirect] -filename = opat-core/subprojects/qhull.wrap