Skip to content

Commit be75be4

Browse files
docs: update Readme
Co-authored-by: Athan <[email protected]> Signed-off-by: Ahmed_Kashkoush <[email protected]>
1 parent 16ba578 commit be75be4

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/array/fixed-endian-factory

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/array/fixed-endian-factory/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -918,7 +918,7 @@ Returns the last element in an array for which a predicate function returns a tr
918918
var Float64ArrayFE = fixedEndianFactory( 'float64' );
919919

920920
function predicate( element ) {
921-
return element < 0;
921+
return element < 0.0;
922922
}
923923

924924
var arr = new Float64ArrayFE( 'little-endian', [ -1.0, 2.0, -4.0, 3.0 ] );

0 commit comments

Comments
 (0)