Skip to content

Commit

Permalink
CI fix
Browse files Browse the repository at this point in the history
  • Loading branch information
erincatto committed Dec 22, 2024
1 parent cb2970b commit 0a00e56
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,12 @@ void b2SetAssertFcn( b2AssertFcn* assertFcn )
b2AssertHandler = assertFcn;
}

#if !defined( NDEBUG ) || defined( B2_ENABLE_ASSERT )
int b2InternalAssertFcn( const char* condition, const char* fileName, int lineNumber )
{
return b2AssertHandler( condition, fileName, lineNumber );
}
#endif

b2Version b2GetVersion( void )
{
Expand Down
2 changes: 1 addition & 1 deletion src/dynamic_tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,7 @@ void b2DynamicTree_Validate( const b2DynamicTree* tree )
}

int height = b2DynamicTree_GetHeight( tree );
int computedHeight = b2ComputeHeight( tree );
int computedHeight = b2ComputeHeight( tree, tree->root );
B2_ASSERT( height == computedHeight );

B2_ASSERT( tree->nodeCount + freeCount == tree->nodeCapacity );
Expand Down

0 comments on commit 0a00e56

Please sign in to comment.