Fix lMax_L in qpms_vswf_set_spec_from_lMax().
Former-commit-id: b864e059aaf1108954c3f1a0d343f51450b05284
This commit is contained in:
parent
431c8b9933
commit
1033daf52e
|
@ -84,7 +84,7 @@ qpms_vswf_set_spec_t *qpms_vswf_set_spec_from_lMax(qpms_l_t lMax,
|
||||||
qpms_tmn2uvswfi(it ? QPMS_VSWF_MAGNETIC : QPMS_VSWF_ELECTRIC, m, n);
|
qpms_tmn2uvswfi(it ? QPMS_VSWF_MAGNETIC : QPMS_VSWF_ELECTRIC, m, n);
|
||||||
c->norm = norm;
|
c->norm = norm;
|
||||||
c->lMax = c->lMax_M = c->lMax_N = lMax;
|
c->lMax = c->lMax_M = c->lMax_N = lMax;
|
||||||
c->lMax_L = 0;
|
c->lMax_L = -1;
|
||||||
return c;
|
return c;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue