Ignore:
Timestamp:
Dec 12, 2011 1:46:11 PM (13 years ago)
Author:
Mathieu Doucet <doucetm@…>
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
67ac282
Parents:
74c9a30
Message:

Re #4 Fix a bunch of model warnings

Location:
sansmodels/src/sans/models/c_extensions
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • sansmodels/src/sans/models/c_extensions/core_shell_cylinder.c

    r4628e31 r36f482f3  
    6464double core_shell_cylinder_analytical_2D_scaled(CoreShellCylinderParameters *pars, double q, double q_x, double q_y) { 
    6565        double cyl_x, cyl_y, cyl_z; 
    66         double q_z, lenq; 
    67         double alpha, f, vol, sin_val, cos_val; 
     66        double q_z; 
     67        double alpha, vol, cos_val; 
    6868        double answer; 
    6969        //convert angle degree to radian 
  • sansmodels/src/sans/models/c_extensions/csparallelepiped.c

    r890ac7f1 r36f482f3  
    160160double csparallelepiped_analytical_2D_scaled(CSParallelepipedParameters *pars, double q, double q_x, double q_y) { 
    161161        double dp[13]; 
    162   double cparallel_x, cparallel_y, cparallel_z, bparallel_x, bparallel_y, parallel_x, parallel_y, parallel_z; 
     162  double cparallel_x, cparallel_y, cparallel_z, bparallel_x, bparallel_y, parallel_x, parallel_y; 
    163163  double q_z; 
    164   double alpha, vol, cos_val_c, cos_val_b, cos_val_a, edgeA, edgeB, edgeC; 
     164  double alpha, cos_val_c, cos_val_b, cos_val_a, edgeA, edgeB, edgeC; 
    165165 
    166166  double answer; 
  • sansmodels/src/sans/models/c_extensions/sc.c

    r890ac7f1 r36f482f3  
    5959 */ 
    6060double sc_analytical_2D_scaled(SCParameters *pars, double q, double q_x, double q_y) { 
    61         double a3_x, a3_y, a3_z, a2_x, a2_y, a1_x, a1_y, a1_z; 
     61        double a3_x, a3_y, a3_z, a2_x, a2_y, a1_x, a1_y; 
    6262        double q_z; 
    63         double alpha, vol, cos_val_a3, cos_val_a2, cos_val_a1; 
     63        double alpha, cos_val_a3, cos_val_a2, cos_val_a1; 
    6464        double a1_dot_q, a2_dot_q,a3_dot_q; 
    6565        double answer; 
Note: See TracChangeset for help on using the changeset viewer.