Skip to content

Commit

Permalink
BUG: Fix crash of PythonExtrasTest when extra types are wrapped
Browse files Browse the repository at this point in the history
  • Loading branch information
Leengit committed Feb 15, 2021
1 parent 0a33603 commit 9096c74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Wrapping/Generators/Python/Tests/extras.py
Expand Up @@ -390,7 +390,7 @@ def custom_callback(name, progress):
[np.float64, np.float64, "VIF2VID2"],
]:
if hasattr(itk.CastImageFilter, t[2]):
cast = vectorimage.astype(t[0])
cast = image.astype(t[0])
(cast_image_template, (cast_pixel_type, cast_image_dimension)) = itk.template(
cast
)
Expand Down

0 comments on commit 9096c74

Please sign in to comment.