Changes in / [a9807efa:72c969b] in sasview


Ignore:
Location:
src/sans/models/c_extension/c_models
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/sans/models/c_extension/c_models/capcyl.cpp

    r230f479 r5b1392f  
    178178  alpha = acos( cos_val ); 
    179179 
    180   // Call the IGOR library function to get the kernel 
    181   answer = capcyl2d_kernel(dp, q, alpha)/sin(alpha); 
     180  answer = capcyl2d_kernel(dp, q, alpha); 
    182181 
    183182 
  • src/sans/models/c_extension/c_models/triaxialellipsoid.cpp

    r230f479 r2b875e4c  
    342342              * weights_semi_axisA[i].value*weights_semi_axisB[j].value*weights_semi_axisC[k].value; 
    343343              if (weights_theta.size()>1) { 
    344                 _ptvalue *= fabs(cos(weights_theta[k].value*pi/180.0)); 
     344                _ptvalue *= fabs(cos(weights_theta[l].value*pi/180.0)); 
    345345              } 
    346346              sum += _ptvalue; 
Note: See TracChangeset for help on using the changeset viewer.