Skip to content

Commit fa9351a

Browse files
authored
Discard changes to lib/node_modules/@stdlib/ndarray/base/fill/lib/main.js
1 parent 33b90e1 commit fa9351a

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/ndarray/base/fill/lib

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/ndarray/base/fill/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ function fill( x, value ) {
8989
v = broadcastScalar( value, dt, getShape( x ), getOrder( x ) );
9090

9191
// Assign the fill value to each element of the input ndarray:
92-
assign( [ v, x ] ); // Consider replacing with a more efficient implementation.
92+
assign( [ v, x ] ); // TODO: consider replacing with ndarray/base/assign-scalar in order to avoid zero-dimensional ndarray creation and subsequent broadcasting
9393
}
9494

9595

0 commit comments

Comments
 (0)