Changeset 883ecf4 in sasmodels for sasmodels/compare.py


Ignore:
Timestamp:
Aug 2, 2017 2:39:09 PM (7 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
9f6823b
Parents:
2d07219
Message:

paper bag fixes for rushed commits

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/compare.py

    rbd21b12 r883ecf4  
    669669    model = core.build_model(model_info, dtype=dtype, platform="dll") 
    670670    calculator = DirectModel(data, model, cutoff=cutoff) 
    671     calculator.engine = "OMP%s"%DTYPE_MAP[dtype] 
     671    calculator.engine = "OMP%s"%DTYPE_MAP[str(model.dtype)] 
    672672    return calculator 
    673673 
Note: See TracChangeset for help on using the changeset viewer.