Skip to content

Commit 0c1727f

Browse files
authored
Merge pull request #1768 from Idclip/fixes
Various Fixes
2 parents 206f96e + 6a6aa4a commit 0c1727f

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

ci/download_houdini.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def get_access_token_and_expiry_time(
9494
),
9595
})
9696
if response.status_code != 200:
97-
raise AuthorizationError(response.status_code, reponse.text)
97+
raise AuthorizationError(response.status_code, response.text)
9898

9999
response_json = response.json()
100100
access_token_expiry_time = time.time() - 2 + response_json["expires_in"]

cmake/OpenVDBHoudiniSetup.cmake

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,11 @@ endif()
288288

289289
# Jemalloc
290290

291-
if(NOT JEMALLOC_LIBRARYDIR)
291+
# * On Mac OSX, linking against Jemalloc < 4.3.0 seg-faults with this error:
292+
# malloc: *** malloc_zone_unregister() failed for 0xaddress
293+
# As of Houdini 20, it still ships with Jemalloc 3.6.0, so don't expose it
294+
# on Mac OSX (https://github.com/jemalloc/jemalloc/issues/420).
295+
if(NOT APPLE AND NOT JEMALLOC_LIBRARYDIR)
292296
set(JEMALLOC_LIBRARYDIR ${HOUDINI_LIB_DIR})
293297
endif()
294298

openvdb/openvdb/math/Mat4.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ class Mat4: public Mat<4, T>
149149
/// Get ith row, e.g. Vec4f v = m.row(1);
150150
Vec4<T> row(int i) const
151151
{
152-
OPENVDB_ASSERT(i>=0 && i<3);
152+
OPENVDB_ASSERT(i>=0 && i<4);
153153
return Vec4<T>((*this)(i,0), (*this)(i,1), (*this)(i,2), (*this)(i,3));
154154
}
155155

0 commit comments

Comments
 (0)