Skip to content

TypeError #7

@RunSfi

Description

@RunSfi

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 &)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions