Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FunTan and FunSin error #125

Open
nrdlove opened this issue Nov 6, 2023 · 2 comments
Open

FunTan and FunSin error #125

nrdlove opened this issue Nov 6, 2023 · 2 comments

Comments

@nrdlove
Copy link

nrdlove commented Nov 6, 2023

In file "parser/mpFuncNonCmplx.cpp", the define of FunTan and FunSin should be Exchange.
https://github.com/beltoforion/muparserx/blob/master/parser/mpFuncNonCmplx.cpp

MUP_UNARY_FUNC(FunTan, "sin", std::sin, "sine function")
MUP_UNARY_FUNC(FunCos, "cos", std::cos, "cosine function")
MUP_UNARY_FUNC(FunSin, "tan", std::tan, "tangens function")

@beltoforion
Copy link
Owner

That is a bit unspecific. What is the issue here?

@nrdlove
Copy link
Author

nrdlove commented Nov 6, 2023

That is a bit unspecific. What is the issue here?

The class name of sin function is "FunTan" and of tan function is "FunSin" in the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants