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

documentation for math pow #2884

Closed
dvd101x opened this issue Jan 23, 2023 · 3 comments
Closed

documentation for math pow #2884

dvd101x opened this issue Jan 23, 2023 · 3 comments
Labels

Comments

@dvd101x
Copy link
Sponsor Collaborator

dvd101x commented Jan 23, 2023

Hi, I encountered a minor issue in the documentation for pow.

While evaluating help(pow) two of the examples show an error

math.pow([[1, 2], [4, 3]], 2)
    Error: Undefined symbol math
math.pow([[1, 2], [4, 3]], -1)
    Error: Undefined symbol math

A possible fix is to remove math.

pow([[1, 2], [4, 3]], 2)
    [[9, 8], [16, 17]]
pow([[1, 2], [4, 3]], -1)
    [[-0.6, 0.4], [0.8, -0.2]]

Steps to replicate

open the main demo and evaluate help(pow)

@josdejong
Copy link
Owner

Thanks David 👍 . I've fixed it via 496c000 (not yet published)

@dvd101x
Copy link
Sponsor Collaborator Author

dvd101x commented Jan 26, 2023

Thanks Jos!

@josdejong
Copy link
Owner

Fix is published now in v11.5.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants