Changeset 2490


Ignore:
Timestamp:
Oct 12, 2016 3:15:37 PM (5 years ago)
Author:
vondreele
Message:

fix integer arithmetic issue in makeRing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIimage.py

    r2468 r2490  
    257257        Y = (sphi*x+cphi*y+cent[1])*scaley
    258258        X,Y,I,J = ImageLocalMax(image,pix,X,Y)
    259         if I and J and I/J > reject:
     259        if I and J and float(I)/J > reject:
    260260            X += .5                             #set to center of pixel
    261261            Y += .5
Note: See TracChangeset for help on using the changeset viewer.