Diffraction icon indicating copy to clipboard operation
Diffraction copied to clipboard

Suggestion: use integer division when indexing to allow Python 3 compatibility while maintaining Python 2 compatibility

Open AlexanderJCS opened this issue 10 months ago • 0 comments

Suggestion: In the line_image I use integer division to allow compatibility with Python 3. This change is needed because, in Python 3, an integer divided by an integer produces a float. Compatibility with Python 2 is not affected.

AlexanderJCS avatar Mar 23 '25 17:03 AlexanderJCS