Skip to content

Commit 7f7ce31

Browse files
committed
fix: implement log10 operation in benchmark (resolves #9216)
1 parent 53ce62b commit 7f7ce31

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/migration-guides/mathjs/benchmark/benchmark.log10.matrix.2d.size.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ function createBenchmark1( shape ) {
7979

8080
b.tic();
8181
for ( i = 0; i < b.iterations; i++ ) {
82-
// y = log10( x ); FIXME: support once we have `@stdlib/math/special/log10`
82+
y = x.map( base );
8383
if ( typeof y !== 'object' ) {
8484
b.fail( 'should return an object' );
8585
}

0 commit comments

Comments
 (0)