Skip to content

Commit 359e70c

Browse files
committed
Fixed incorrect assert
Signed-off-by: Nick Avramoussis <[email protected]>
1 parent 3d1dbff commit 359e70c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)