Skip to content

Commit

Permalink
deepsource check
Browse files Browse the repository at this point in the history
  • Loading branch information
camilo committed Nov 15, 2024
1 parent 9eac523 commit 3fa0c8e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions qfis.c
Original file line number Diff line number Diff line change
Expand Up @@ -1039,7 +1039,7 @@ static float qFIS_SMF( const qFIS_IO_Base_t * const in,
const float *p,
const size_t n )
{
float a, b, tmp, y;
float a, b, tmp, y = 0.0F;
float x = in[ 0 ].value;
(void)n;

Expand All @@ -1060,7 +1060,7 @@ static float qFIS_SMF( const qFIS_IO_Base_t * const in,
y = ( 1.0F - ( 2.0F*tmp*tmp ) );
}
else {
y = 0.0F;
/* Nothing to do here */
}

return y;
Expand Down Expand Up @@ -1094,7 +1094,7 @@ static float qFIS_ZMF( const qFIS_IO_Base_t * const in,
const float *p,
const size_t n )
{
float a, b, tmp, y;
float a, b, tmp, y = 0.0F;
float x = in[ 0 ].value;
(void)n;

Expand All @@ -1115,7 +1115,7 @@ static float qFIS_ZMF( const qFIS_IO_Base_t * const in,
y = 2.0F*tmp*tmp;
}
else {
y = 0.0F;
/* Nothing to do here */
}

return y;
Expand Down

0 comments on commit 3fa0c8e

Please sign in to comment.