Skip to content

Commit

Permalink
BUG: Initialize image buffer in Inverse FFT example
Browse files Browse the repository at this point in the history
  • Loading branch information
tbirdso authored and dzenanz committed Nov 29, 2021
1 parent 3f8d0a2 commit ff614cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Filtering/FFT/ComputeInverseFFTOfImage/Code.py
Expand Up @@ -37,6 +37,7 @@

image = float_image_type.New(Regions=region)
image.Allocate()
image.FillBuffer(0)

# Make a square
image[40:100, 40:100] = 100
Expand Down

0 comments on commit ff614cb

Please sign in to comment.