rename kw to k in improper_inversion_harmonic.cpp
This commit is contained in:
committed by
GitHub
parent
757eb8bf58
commit
8bba7ff10f
@ -340,7 +340,7 @@ void ImproperInversionHarmonic::write_data(FILE *fp)
|
|||||||
void *ImproperInversionHarmonic::extract(const char *str, int &dim)
|
void *ImproperInversionHarmonic::extract(const char *str, int &dim)
|
||||||
{
|
{
|
||||||
dim = 1;
|
dim = 1;
|
||||||
if (strcmp(str, "kw") == 0) return (void *) kw;
|
if (strcmp(str, "k") == 0) return (void *) kw;
|
||||||
if (strcmp(str, "w0") == 0) return (void *) w0;
|
if (strcmp(str, "w0") == 0) return (void *) w0;
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user