Fix lMax_L in qpms_vswf_set_spec_from_lMax().

Former-commit-id: b864e059aaf1108954c3f1a0d343f51450b05284
This commit is contained in:
Marek Nečada 2019-03-12 13:08:30 +02:00
parent 431c8b9933
commit 1033daf52e
1 changed files with 1 additions and 1 deletions

View File

@ -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);
c->norm = norm;
c->lMax = c->lMax_M = c->lMax_N = lMax;
c->lMax_L = 0;
c->lMax_L = -1;
return c;
}