Skip to content

Commit

Permalink
fix check on interp1
Browse files Browse the repository at this point in the history
  • Loading branch information
camilo committed Nov 20, 2024
1 parent dd86682 commit 1bd1c53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qinterp1.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ int qInterp1_Setup( qInterp1_t * const i,
{
int retVal = 0;

if ( ( NULL != i ) && ( sizeTable > 2U ) && ( NULL != xTable ) && ( NULL != xTable ) ) {
if ( ( NULL != i ) && ( sizeTable > 2U ) && ( NULL != xTable ) && ( NULL != yTable ) ) {
i->xData = xTable;
i->yData = yTable;
i->dataSize = sizeTable;
Expand Down

0 comments on commit 1bd1c53

Please sign in to comment.