remove early exit on negative inc_x

This commit is contained in:
Martin Kroeker 2024-03-11 22:52:18 +01:00 committed by GitHub
parent 4fd8bc1f11
commit 02a025f9c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -345,7 +345,7 @@ FLOAT CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x)
#endif
FLOAT ssq, scale;
if (n <= 0 || inc_x <= 0) return 0.0;
if (n <= 0 || inc_x == 0) return 0.0;
#if defined(SMP)
if (n <= 10000)