Changeset 4861


Ignore:
Timestamp:
Mar 20, 2021 8:20:23 PM (7 months ago)
Author:
toby
Message:

fix Bob's RB constraint fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIstrIO.py

    r4859 r4861  
    13851385                elif symHold is not None: #variable is held due to symmetry
    13861386                    symHold.append(name)
    1387         for equiv in equivs:
     1387        for k in equivs:
     1388            equiv = equivs[k]
    13881389            if len(equiv) > 1:
    1389                 name = equivs[equiv][0][0]
    1390                 coef = equivs[equiv][0][1]
    1391                 for eqv in equivs[equiv][1:]:
     1390                name = equiv[0][0]
     1391                coef = equiv[0][1]
     1392                for eqv in equiv[1:]:
    13921393                    eqv[1] /= coef
    13931394                    G2mv.StoreEquivalence(name,(eqv,))
Note: See TracChangeset for help on using the changeset viewer.