Changeset 2b3a1bd in sasmodels


Ignore:
Timestamp:
Oct 7, 2016 11:24:06 AM (8 years ago)
Author:
mathieu
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
c34a31f
Parents:
6ae7957
Message:

Fix typo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/resolution.py

    r69ef533 r2b3a1bd  
    307307            weights[i, :] = (in_x + abs_x) * np.diff(q_edges) / (2*h) 
    308308        else: 
    309             for k in range(-n_height, h_height+1): 
     309            for k in range(-n_height, n_height+1): 
    310310                weights[i, :] += _q_perp_weights(q_edges, qi+k*h/n_height, w) 
    311311            weights[i, :] /= 2*n_height + 1 
Note: See TracChangeset for help on using the changeset viewer.