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