Skip to content

Commit

Permalink
fix: apply code review suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
headlessNode committed Sep 30, 2024
1 parent 5f00573 commit 336976d
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,23 +167,23 @@ tape( 'the function supports an offset parameter', function test( t ) {
-2.0,
3.0, // 0
-4.0, // 0
6.0,
-8.0,
10.0, // 1
-12.0 // 1
6.0, // 1
-8.0, // 1
10.0,
-12.0
]);
expected = new Complex64Array([
1.0,
-2.0,
5.0, // 0
-5.0, // 0
6.0,
-8.0,
5.0, // 1
-5.0 // 1
-5.0, // 1
10.0,
-12.0
]);

cfill( 2, new Complex64( 5.0, -5.0 ), x, 2, 1 );
cfill( 2, new Complex64( 5.0, -5.0 ), x, 1, 1 );
t.strictEqual( isSameComplex64Array( x, expected ), true, 'returns expected value' );
t.end();
});
Expand Down

0 comments on commit 336976d

Please sign in to comment.