XVM-Tanker Posted October 30, 2016 Share Posted October 30, 2016 Hi, there is a problem with "math_div" in "math.py": Now it is called: # Division. Деление.@xvm.export('math.div')def math_div(a, b): return a / b It should be: # Division. Деление.@xvm.export('math.div')def math_div(a, b): return a / float(b) Is it posssible to be fixed by default? I have to change it every time I update XVM. Thx :) Link to comment Short link Share on other sites More sharing options...
konrad509 Posted October 30, 2016 Share Posted October 30, 2016 (edited) Put that modified function in a separate file, so you don't need to change it every XVM update. Edited October 30, 2016 by konrad509 Link to comment Short link Share on other sites More sharing options...
sirmax Posted October 30, 2016 Share Posted October 30, 2016 It's possible to fix, but if you'll create pull request, it would be much easier. Link to comment Short link Share on other sites More sharing options...
Recommended Posts