You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/node_modules/@stdlib/blas/ext/sum/lib/main.js
+1-1
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ var idtypes = dtypes( 'numeric_and_generic' );
33
33
varodtypes=dtypes('numeric_and_generic');
34
34
varpolicies={
35
35
'output': 'accumulation',
36
-
'casting': 'promoted'
36
+
'casting': 'none'// NOTE: in this case, we know that, at least for `gsum`, all scalar accumulation happens in double-precision, so casting an `int8` array to, e.g., `int32` is not necessary. Were we ever to implement specialized kernels beyond floating-point, we may need to revisit depending on the precision of the underlying accumulators.
0 commit comments