1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 19:47:34 +00:00

Everywhere: Prefer VERIFY over assert()

This commit is contained in:
Dan Klishch 2023-11-18 15:01:26 -05:00 committed by Tim Flynn
parent ef9bfe3499
commit 3e43d15440
4 changed files with 4 additions and 4 deletions

View file

@ -26,8 +26,8 @@ public:
void transform(ReadonlySpan<float> data, Span<float> output)
{
assert(N == 2 * data.size());
assert(N == output.size());
VERIFY(N == 2 * data.size());
VERIFY(N == output.size());
for (size_t n = 0; n < N; n++) {
output[n] = 0;
for (size_t k = 0; k < N / 2; k++) {