Changeset cb3a824 in sasmodels


Ignore:
Timestamp:
Apr 7, 2016 5:46:02 AM (8 years ago)
Author:
wojciech
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:
3a45c2c
Parents:
4937980
Message:

Fix at the end of polydispersity loop

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/kernel_iq.c

    r398aa94 rcb3a824  
    216216    #endif 
    217217    for (int i=0; i < nq; i++) { 
    218       result[i] = (norm>0. ? scale*scattering/norm + background : background); 
     218      result[i] = (norm>0. ? scale*result[i]/norm + background : background); 
    219219    } 
    220220  } 
Note: See TracChangeset for help on using the changeset viewer.