Update FloatPriorityQueue.java

This commit is contained in:
Andrea Cavalli 2020-09-22 21:28:56 +02:00
parent b754302914
commit 203ab6c10e

View File

@ -80,7 +80,7 @@ public class FloatPriorityQueue<T> implements Queue<T> {
@Override
public boolean isEmpty() {
assert contentValues.isEmpty();
assert contentValues.size() == internalQueue.size();
return internalQueue.isEmpty();
}