Skip to content

Commit 9ae1c45

Browse files
committed
chore: update evalpoly.js
1 parent bfc84a3 commit 9ae1c45

File tree

1 file changed

+1
-19
lines changed
  • lib/node_modules/@stdlib/math/base/special/log10/scripts

1 file changed

+1
-19
lines changed

lib/node_modules/@stdlib/math/base/special/log10/scripts/evalpoly.js

+1-19
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2022 The Stdlib Authors.
4+
* Copyright (c) 2018 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.
@@ -26,12 +26,9 @@
2626
var resolve = require( 'path' ).resolve;
2727
var readFileSync = require( '@stdlib/fs/read-file' ).sync;
2828
var writeFileSync = require( '@stdlib/fs/write-file' ).sync;
29-
var currentYear = require( '@stdlib/time/current-year' );
3029
var substringBefore = require( '@stdlib/string/substring-before' );
3130
var substringAfter = require( '@stdlib/string/substring-after' );
3231
var format = require( '@stdlib/string/format' );
33-
var licenseHeader = require( '@stdlib/_tools/licenses/header' );
34-
var compile = require( '@stdlib/math/base/tools/evalpoly-compile' );
3532
var compileC = require( '@stdlib/math/base/tools/evalpoly-compile-c' );
3633

3734

@@ -50,13 +47,6 @@ var Q = [
5047
1.479819860511658591e-01 // 3FC2F112 DF3E5244
5148
];
5249

53-
// Header to add to output files:
54-
var header = licenseHeader( 'Apache-2.0', 'js', {
55-
'year': currentYear(),
56-
'copyright': 'The Stdlib Authors'
57-
});
58-
header += '\n/* This is a generated file. Do not edit directly. */\n';
59-
6050

6151
// FUNCTIONS //
6252

@@ -103,14 +93,6 @@ function main() {
10393
'encoding': 'utf8'
10494
};
10595

106-
fpath = resolve( __dirname, '..', 'lib', 'polyval_p.js' );
107-
str = header + compile( P );
108-
writeFileSync( fpath, str, opts );
109-
110-
fpath = resolve( __dirname, '..', 'lib', 'polyval_q.js' );
111-
str = header + compile( Q );
112-
writeFileSync( fpath, str, opts );
113-
11496
copts = {
11597
'dtype': 'double',
11698
'name': ''

0 commit comments

Comments
 (0)