Changeset 2b875e4c in sasview for src/sans/models/c_extension/c_models/triaxialellipsoid.cpp
- Timestamp:
- Sep 2, 2014 1:08:43 PM (10 years ago)
- 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:
- 5b1392f
- Parents:
- f4167637
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sans/models/c_extension/c_models/triaxialellipsoid.cpp
r230f479 r2b875e4c 342 342 * weights_semi_axisA[i].value*weights_semi_axisB[j].value*weights_semi_axisC[k].value; 343 343 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)); 345 345 } 346 346 sum += _ptvalue;
Note: See TracChangeset
for help on using the changeset viewer.