Ignore:
Timestamp:
Aug 22, 2014 3:04:55 PM (7 years ago)
Author:
vondreele
Message:

fix handling of zero powder profile intensities; set w=0. (not 1.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/imports/G2pwd_xye.py

    r1461 r1476  
    9393                    if f <= 0.0:
    9494                        y.append(0.0)
    95                         w.append(1.0)
     95                        w.append(0.0)
    9696                    elif len(vals) == 3:
    9797                        y.append(float(vals[1]))
Note: See TracChangeset for help on using the changeset viewer.