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

TypeError #7

Open
RunSfi opened this issue Apr 26, 2022 · 1 comment
Open

TypeError #7

RunSfi opened this issue Apr 26, 2022 · 1 comment

Comments

@RunSfi
Copy link

RunSfi commented Apr 26, 2022

Hello, when I was running this code ‘1D_karhunen_loeve_simulation_example.py’, it reported the following error. I don't understand it. What do I need to do?

D:\anaconda3\lib\site-packages\openturns\func.py in init(self, *args)
1112
1113 def init(self, *args):
-> 1114 _func.EnumerateFunction_swiginit(self, _func.new_EnumerateFunction(*args))
1115 swig_destroy = _func.delete_EnumerateFunction
1116

TypeError: Wrong number or type of arguments for overloaded function 'new_EnumerateFunction'.
Possible C/C++ prototypes are:
OT::EnumerateFunction::EnumerateFunction()
OT::EnumerateFunction::EnumerateFunction(OT::EnumerateFunctionImplementation const &)
OT::EnumerateFunction::EnumerateFunction(OT::EnumerateFunction::Implementation &)
OT::EnumerateFunction::EnumerateFunction(OT::EnumerateFunction const &)

@Liberil
Copy link

Liberil commented May 8, 2022

I got the same error, have you solved it now?

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