Changeset 2586ab72 in sasmodels


Ignore:
Timestamp:
Oct 3, 2018 4:28:59 PM (2 months ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
beta_approx, py3, ticket-1015-gpu-mem-error, ticket-1157, ticket-608-user-defined-weights, ticket_1156
Children:
e44432d
Parents:
9ae0d2e
Message:

tweak explore/beta for python 3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • explore/beta/sasfit_compare_new.py

    r5d40d0c r2586ab72  
    578578def load_sasfit(path): 
    579579    data = np.loadtxt(path, dtype=str, delimiter=';').T 
    580     data = np.vstack((map(float, v) for v in data[0:2])) 
     580    data = np.vstack((list(map(float, v)) for v in data[0:2])) 
    581581    return data 
    582582 
Note: See TracChangeset for help on using the changeset viewer.