Skip to content

Commit

Permalink
Merge pull request #293 from clEsperanto/fix_kernel_size_type_constraint
Browse files Browse the repository at this point in the history
bugfix: force kernel size to be integer
  • Loading branch information
haesleinhuepf authored Mar 26, 2023
2 parents 46284ce + c570f37 commit 6657c30
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyclesperanto_prototype/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
from ._tier10 import *
from ._tier11 import *

__version__ = "0.23.5"
__version__ = "0.23.6"
__common_alias__ = "cle"
2 changes: 1 addition & 1 deletion pyclesperanto_prototype/_tier0/_radius_to_kernel_size.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
def radius_to_kernel_size(radius):
return radius * 2 + 1;
return int(radius * 2 + 1)
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = pyclesperanto_prototype
version = 0.23.5
version = 0.23.6
author = Robert Haase
author_email = robert.haase@tu-dresden.de
url = https://github.com/clEsperanto/pyclesperanto_prototype
Expand Down

0 comments on commit 6657c30

Please sign in to comment.