Changeset 1531 for trunk/GSASIImath.py


Ignore:
Timestamp:
Oct 21, 2014 12:28:29 PM (8 years ago)
Author:
vondreele
Message:

fix getVCOV; nonexistant parms return zero.
fix space group output in PrintDistAngle?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIImath.py

    r1513 r1531  
    188188                vcov[i1][i2] = covMatrix[varyList.index(name1)][varyList.index(name2)]
    189189            except ValueError:
    190                 if i1 == i2:
    191                     vcov[i1][i2] = 1.0
    192                 else:
    193                     vcov[i1][i2] = 0.0
     190                vcov[i1][i2] = 0.0
     191#                if i1 == i2:
     192#                    vcov[i1][i2] = 1e-20
     193#                else:
     194#                    vcov[i1][i2] = 0.0
    194195    return vcov
    195196
Note: See TracChangeset for help on using the changeset viewer.