-
-
Notifications
You must be signed in to change notification settings - Fork 370
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
disallow user-defined function overloading #1547
Comments
I am continuing to think that appending the argument types to the C++ class name would work around this relatively easily |
Hi folks, I have the latest version of Pystan, with Stan 2.9.0. Also, I have RStan installed on the same environment and the same example runs fine. Thank you in advance |
@aeleuterio would you mind opening an issue at the pystan repository? https://github.com/stan-dev/pystan/issues When you open an issue, please let us know what Linux distribution you're using and what version of gcc if you know it. |
@ariddell Will do, I apologize for posting on the wrong forum |
Danny Goldstein reported on stan-users that the following problem parses and code generates, but doesn't compile.
This produces the following error on the develop branch of cmdstan and stan:
Either we need to figure out how to allow overloading, or have stanc catch the redeclaration and return an error.
The text was updated successfully, but these errors were encountered: