Changeset 650c6d2 in sasmodels


Ignore:
Timestamp:
Apr 6, 2017 2:18:30 AM (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:
3a45c2c, bccb40f, 14e08bf
Parents:
5702f52
Message:

use correct type info for 16-bit floats

Location:
sasmodels
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/compare.py

    rc4e3215 r650c6d2  
    546546    'f32': '32', 
    547547    'f64': '64', 
     548    'float16': '16', 
     549    'float32': '32', 
     550    'float64': '64', 
     551    'float128': '128', 
    548552    'longdouble': '128', 
    549553} 
  • sasmodels/core.py

    r5124c969 r650c6d2  
    250250        dtype = "longdouble" 
    251251    elif dtype == "half": 
    252         dtype = "f16" 
     252        dtype = "float16" 
    253253 
    254254    # Convert dtype string to numpy dtype. 
Note: See TracChangeset for help on using the changeset viewer.