Skip to content

Conversation

@anshul96go
Copy link

The following warning occurs:
E:\Anaconda\lib\site-packages\quantiacsToolbox\quantiacsToolbox.py:881: RuntimeWarning: invalid value encountered in true_divide
position = position / np.sum(abs(position))
I tried to correct that using numpy.seterr() [added in line 32]

The following warning occurs:
E:\Anaconda\lib\site-packages\quantiacsToolbox\quantiacsToolbox.py:881: RuntimeWarning: invalid value encountered in true_divide
  position = position / np.sum(abs(position))
I tried to correct that using numpy.seterr() [added in line 32]
Correcting for the warning that occurs
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

Successfully merging this pull request may close these issues.

1 participant