Changeset 9ae85f0 in sasmodels for sasmodels/models/rpa.py


Ignore:
Timestamp:
Mar 7, 2017 2:43:52 PM (7 years ago)
Author:
GitHub <noreply@…>
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
3a45c2c, 0011ecc
Parents:
20c856a (diff), eb63414 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Paul Kienzle <pkienzle@…> (03/07/17 14:43:52)
git-committer:
GitHub <noreply@…> (03/07/17 14:43:52)
Message:

Merge pull request #23 from SasView?/ticket-815

Use nearest integer for discrete parameters. Closes #815

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/rpa.py

    r20c856a reb63414  
    116116    Return a list of parameters to hide depending on the multiplicity parameter. 
    117117    """ 
     118    case_num = int(case_num+0.5) 
    118119    if case_num < 2: 
    119120        return HIDE_AB 
Note: See TracChangeset for help on using the changeset viewer.