Skip to content

Commit

Permalink
convert data to type needed - PDLPorters/pdl#511
Browse files Browse the repository at this point in the history
  • Loading branch information
mohawk2 committed Dec 20, 2024
1 parent b1b9d36 commit 19ba21f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Test2/Tools/PDL.pm
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ sub pdl_is {
$diff = ( $got != $exp );
}
if ( $exp->badflag ) {
$diff->where( $exp->isbad ) .= 0;
$diff->where( $exp->isbad ) .= PDL->pdl($diff->type, 0);
}
};
if ($@) {
Expand Down

0 comments on commit 19ba21f

Please sign in to comment.