question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

vectorize signature error message copy-paste issue

See original GitHub issue

Description

Calling vectorize with a non-None value for the signature parameter outputs this error message about the excluded parameter.

NotImplementedError: cupy.vectorize does not support `excluded` option currently.

Inspecting the code, it is obvious there is a copy-paste error and the 2nd error message should be change excluded to signature.

https://github.com/cupy/cupy/blob/master/cupy/_functional/vectorize.py#L48-L54

        if excluded is not None:
            raise NotImplementedError(
                'cupy.vectorize does not support `excluded` option currently.')

        if signature is not None:
            raise NotImplementedError(
                'cupy.vectorize does not support `excluded` option currently.')

To Reproduce

# Write the code here
def foo(a,b):
    return a+b

np.vectorize(foo,signature="(m),(n)->()")

Installation

Conda-Forge (conda install ...)

Environment

N/A

Additional Information

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
rogerallencommented, Mar 7, 2022

Not sure what the protocol is here, but this looks good to close, I think.

1reaction
tushxr16commented, Feb 28, 2022

Hey @rogerallen ! Thanks for the help. I merged my first PR.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Solved: Illustrator 2020 giving error while copy- pasting
Solved: I can't copy/paste objects from Illustrator to Photoshop. When I paste into Photoshop, Photoshop hangs until I go back to Illustrator and...
Read more >
Copy/paste vector: Illustrator → Figma (pastes as raster)
In 25.3 the behavior is broken and graphics get pasted as a raster image. All the settings are the same.
Read more >
HTML Signature when pasted is not formatted properly.
When I paste it in outlook for Mac the signature still fails. I even tried copying from the outlook version I pasted and...
Read more >
Copy Paste of Feature in Vector Layer Throws Error in QGIS ...
I get the error with polygon and Line geometries, and the error occurs when I try to copy/paste to the same layer as...
Read more >
Apps Script issue with copy and paste data - Stack Overflow
I've only ever done this with macro's so this was how I had to do it. Here is the code I have: function...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found