summaryrefslogtreecommitdiff
path: root/community/newton-dynamics/assert-fix.patch
blob: 83dfdd79072703a7ab9717334e10a24bc9d27bae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: source/core/dgTypes.cpp
===================================================================
--- source/core/dgTypes.cpp	(revision 506)
+++ source/core/dgTypes.cpp	(working copy)
@@ -515,7 +515,7 @@
 		return 0;
 	}
 	_ASSERTE (compareCount <= dgInt32 (strideInBytes / sizeof (dgFloat64)));
-	_ASSERT (strideInBytes == dgInt32 (sizeof (dgFloat64) * (strideInBytes / sizeof (dgFloat64))));
+	_ASSERTE (strideInBytes == dgInt32 (sizeof (dgFloat64) * (strideInBytes / sizeof (dgFloat64))));
 
 	dgInt32 stride = strideInBytes / dgInt32 (sizeof (dgFloat64));
 	dgInt32 stride2 = stride + 2;