Changeset 7b7da6b in sasmodels


Ignore:
Timestamp:
Jul 24, 2016 11:42:43 AM (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:
f1765a2
Parents:
9eb3632
Message:

remove unused variable warnings for pd_values/pd_weights

Location:
sasmodels
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/kernel_iq.c

    r9eb3632 r7b7da6b  
    123123//printf("start %d %g %g\n", pd_start, pd_norm, result[0]); 
    124124 
     125#if MAX_PD>0 
    125126  global const double *pd_value = values + NUM_VALUES + 2; 
    126127  global const double *pd_weight = pd_value + details->pd_sum; 
     128#endif 
    127129 
    128130  // Jump into the middle of the polydispersity loop 
  • sasmodels/kernel_iq.cl

    r9eb3632 r7b7da6b  
    118118//if (q_index==0) printf("start %d %g %g\n", pd_start, pd_norm, this_result); 
    119119 
     120#if MAX_PD>0 
    120121  global const double *pd_value = values + NUM_VALUES + 2; 
    121122  global const double *pd_weight = pd_value + details->pd_sum; 
     123#endif 
    122124 
    123125  // Jump into the middle of the polydispersity loop 
Note: See TracChangeset for help on using the changeset viewer.