Skip to content

Commit ab076d1

Browse files
authored
Apply suggestions from code review
Signed-off-by: Athan <[email protected]>
1 parent 94b0bf0 commit ab076d1

File tree

1 file changed

+1
-2
lines changed
  • lib/node_modules/@stdlib/math/base/special/kernel-tan/src

1 file changed

+1
-2
lines changed

lib/node_modules/@stdlib/math/base/special/kernel-tan/src/addon.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
#include "stdlib/napi/create_double.h"
2424
#include "stdlib/napi/export.h"
2525
#include <node_api.h>
26-
#include <stdint.h>
2726

2827
/**
2928
* Receives JavaScript callback invocation data.
@@ -37,7 +36,7 @@ static napi_value addon( napi_env env, napi_callback_info info ) {
3736
STDLIB_NAPI_ARGV_DOUBLE( env, x, argv, 0 );
3837
STDLIB_NAPI_ARGV_DOUBLE( env, y, argv, 1 );
3938
STDLIB_NAPI_ARGV_INT32( env, k, argv, 2 );
40-
STDLIB_NAPI_CREATE_DOUBLE( env, (double)stdlib_base_kernel_tan( x, y, k ), out );
39+
STDLIB_NAPI_CREATE_DOUBLE( env, stdlib_base_kernel_tan( x, y, k ), out );
4140
return out;
4241
}
4342

0 commit comments

Comments
 (0)