File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
lib/node_modules/@stdlib/stats/base/nanmaxabs/docs/types Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11/*
22* @license Apache-2.0
33*
4- * Copyright (c) 2020 The Stdlib Authors.
4+ * Copyright (c) 2025 The Stdlib Authors.
55*
66* Licensed under the Apache License, Version 2.0 (the "License");
77* you may not use this file except in compliance with the License.
1717*/
1818
1919import nanmaxabs = require( './index' ) ;
20-
20+ import AccessorArray = require ( '@stdlib/array/base/accessor' ) ;
2121
2222// TESTS //
2323
2424// The function returns a number...
2525{
2626 const x = new Float64Array ( 10 ) ;
2727
28- nanmaxabs ( x . length , x , 1 ) ; // $ExpectType number
28+ nanmaxabs ( x . length , new AccessorArray ( x ) , 1 ) ; // $ExpectType number
2929}
3030
3131// The compiler throws an error if the function is provided a first argument which is not a number...
@@ -84,7 +84,7 @@ import nanmaxabs = require( './index' );
8484{
8585 const x = new Float64Array ( 10 ) ;
8686
87- nanmaxabs . ndarray ( x . length , x , 1 , 0 ) ; // $ExpectType number
87+ nanmaxabs . ndarray ( x . length , new AccessorArray ( x ) , 1 , 0 ) ; // $ExpectType number
8888}
8989
9090// The compiler throws an error if the `ndarray` method is provided a first argument which is not a number...
You can’t perform that action at this time.
0 commit comments