Skip to content

Numpy usage error in perform_blurring.perform_convolution #63

Description

@rand-asswad

There is an error in the perform_convolution function the python module
perform_blurring.

On line 218, the array d should be converted to an integer type as its used for indexing.
Suggested fix:

d = np.floor((p-1)/2.).astype(int)

Thank you in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions