Fix a bug reported by Dmitriy, replace = by ==

This commit is contained in:
Holger Vogt 2026-04-24 20:50:29 +02:00
parent bc7eb4fdd4
commit c9aac14fc1
1 changed files with 1 additions and 1 deletions

View File

@ -258,7 +258,7 @@ NIpzSym2(PZtrial **set, PZtrial *new)
R_NORM(c,c_mag);
if (c == 0.0 || ((a == 0.0 || c_mag < a_mag - 40)
&& (b = 0.0 ||c_mag < b_mag - 40))) {
&& (b == 0.0 || c_mag < b_mag - 40))) {
/*fprintf(stderr, "\t- linear (%g, %d)\n", c, c_mag);*/
if (a == 0.0) {
a = b;