Skip to content

Commit

Permalink
style: disable lint rule
Browse files Browse the repository at this point in the history
  • Loading branch information
kgryte committed Oct 13, 2023
1 parent 5a97436 commit 4711195
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ function sliceAssign( x, y, s, strict ) {
ydt = getDType( y );

// Safe casts are always allowed and allow same kind casts (i.e., downcasts) only when the output data type is floating-point...
if ( !isSafeCast( xdt, ydt ) && !( isFloatingPointDataType( ydt ) && isSameKindCast( xdt, ydt ) ) ) {
if ( !isSafeCast( xdt, ydt ) && !( isFloatingPointDataType( ydt ) && isSameKindCast( xdt, ydt ) ) ) { // eslint-disable-line max-len
throw new TypeError( format( 'invalid argument. Input array values cannot be safely cast to the output array data type. Data types: [%s, %s].', xdt, ydt ) );
}
// Resolve a writable output array view:
Expand Down

1 comment on commit 4711195

@stdlib-bot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage Report

Package Statements Branches Functions Lines
ndarray/base/assign $\color{red}4632/10439$
$\color{green}+44.37\%$
$\color{green}44/44$
$\color{green}+100.00\%$
$\color{red}0/43$
$\color{green}+0.00\%$
$\color{red}4632/10439$
$\color{green}+44.37\%$
ndarray/base/slice-assign $\color{green}200/200$
$\color{green}+100.00\%$
$\color{green}7/7$
$\color{green}+100.00\%$
$\color{green}1/1$
$\color{green}+100.00\%$
$\color{green}200/200$
$\color{green}+100.00\%$

The above coverage report was generated for the changes in this push.

Please sign in to comment.