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:
parent
ef9bfe3499
commit
3e43d15440
4 changed files with 4 additions and 4 deletions
|
@ -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++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue