diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenlib/intern/BLI_heap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/BLI_heap.c b/source/blender/blenlib/intern/BLI_heap.c index 2da36377e55..c62c79b492f 100644 --- a/source/blender/blenlib/intern/BLI_heap.c +++ b/source/blender/blenlib/intern/BLI_heap.c @@ -208,7 +208,7 @@ void *BLI_heap_popmin(Heap *heap) { void *ptr = heap->tree[0]->ptr; - BLI_assert(heap->size == 0); + BLI_assert(heap->size != 0); heap->tree[0]->ptr = heap->freenodes; heap->freenodes = heap->tree[0]; |