Comparing version 1.0.0 to 1.0.1
@@ -32,13 +32,6 @@ 'use strict'; | ||
sum = 0; | ||
if ( stride === 1 ) { | ||
idx = offset; | ||
for ( i = 0; i < N; i++ ) { | ||
sum += abs( x[ idx ] ); | ||
idx += 1; | ||
} | ||
return sum; | ||
} | ||
idx = offset; | ||
for ( i = 0; i < N; i++ ) { | ||
idx = offset + i*stride; | ||
sum += abs( x[ idx ] ); | ||
idx += stride; | ||
} | ||
@@ -45,0 +38,0 @@ return sum; |
{ | ||
"name": "blas-dasum", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Computes the sum of absolute values.", | ||
@@ -5,0 +5,0 @@ "author": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8405
35