diff --git a/src/frontend/parse.c b/src/frontend/parse.c index 023455833..23ad4bd50 100644 --- a/src/frontend/parse.c +++ b/src/frontend/parse.c @@ -149,7 +149,7 @@ struct func ft_funcs[] = { { "imag", cx_imag }, { "im", cx_imag }, { "db", cx_db }, - { "log", cx_log10 }, + { "log", cx_log }, { "log10", cx_log10 }, { "ln", cx_log }, { "exp", cx_exp }, diff --git a/src/spicelib/parser/inpptree.c b/src/spicelib/parser/inpptree.c index 9588fd7cd..02a2d2f63 100644 --- a/src/spicelib/parser/inpptree.c +++ b/src/spicelib/parser/inpptree.c @@ -144,7 +144,7 @@ static struct func { { "cosh", PTF_COSH, (void(*)(void)) PTcosh } , { "exp", PTF_EXP, (void(*)(void)) PTexp } , { "ln", PTF_LOG, (void(*)(void)) PTlog } , - { "log", PTF_LOG10, (void(*)(void)) PTlog10 } , + { "log", PTF_LOG, (void(*)(void)) PTlog } , { "log10", PTF_LOG10, (void(*)(void)) PTlog10 } , { "sgn", PTF_SGN, (void(*)(void)) PTsgn } , { "sin", PTF_SIN, (void(*)(void)) PTsin } ,