Changeset 4a21b121 in sasmodels


Ignore:
Timestamp:
Jul 18, 2016 2:11:22 AM (8 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
ce176ca
Parents:
c5ac2b2
Message:

fix core multi-shell comparison

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/convert.py

    rc5ac2b2 r4a21b121  
    288288            pars['i_zero'] = 1 
    289289        elif name == 'core_multi_shell': 
    290             pars['n'] = max(math.ceil(pars['n']), 4) 
    291  
     290            pars['n'] = min(math.ceil(pars['n']), 4) 
     291 
Note: See TracChangeset for help on using the changeset viewer.