Skip to content

Commit

Permalink
Auto-generated commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Mar 25, 2024
1 parent 93b7926 commit 10174c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion base/tools/evalpoly-compile-c/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,9 @@ function compile( c, options ) {
// If more than one coefficient, apply Horner's method...
horner = c[ 0 ].toString();
if ( isInteger( c[ 0 ] ) ) {
horner += '.0{{dtype_suffix}}';
horner += '.0';
}
horner += '{{dtype_suffix}}';
for ( i = 1; i < n; i++ ) {
horner += ' + (x * ';
if ( i < m ) {
Expand Down

0 comments on commit 10174c0

Please sign in to comment.