Changes in / [72c969b:a9807efa] 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

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

    r2b875e4c r230f479  
    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[l].value*pi/180.0)); 
     344                _ptvalue *= fabs(cos(weights_theta[k].value*pi/180.0)); 
    345345              } 
    346346              sum += _ptvalue; 
Note: See TracChangeset for help on using the changeset viewer.