Changeset 718514b in sasmodels for sasmodels/kernel_template.c


Ignore:
Timestamp:
Feb 24, 2016 5:02:47 PM (8 years ago)
Author:
Paul Kienzle <pkienzle@…>
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:
c8dcbdf
Parents:
0471c72
Message:

fix to allow oriented models with no volume parameter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/kernel_template.c

    r840b859 r718514b  
    260260        const double vol_weight = VOLUME_WEIGHT_PRODUCT; 
    261261        vol += vol_weight*form_volume(VOLUME_PARAMETERS); 
    262       #endif 
    263262        norm_vol += vol_weight; 
     263      #endif 
    264264      } 
    265265      //else { printf("exclude qx,qy,I:%%g,%%g,%%g\n",qi,scattering); } 
Note: See TracChangeset for help on using the changeset viewer.