proper initialization of b magnitude coefficient in a special case

This commit is contained in:
dwarning 2018-11-05 15:51:31 +01:00 committed by Holger Vogt
parent 2a947a933e
commit 9289f0f773
1 changed files with 1 additions and 1 deletions

View File

@ -354,7 +354,7 @@ NIpzSym2(PZtrial **set, PZtrial *new)
} else { } else {
/* special case */ /* special case */
b = 0.0; b = 0.0;
b = 0; b_mag = 0;
} }
zaddeq(&b, &b_mag, set[1]->s.real, 0, -b, b_mag); zaddeq(&b, &b_mag, set[1]->s.real, 0, -b, b_mag);