Changeset 3eac3816 in sasview for sansmodels/src


Ignore:
Timestamp:
Nov 30, 2011 4:58:29 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:
1a31715
Parents:
2c041e9
Message:

Re #5 fixing samsmodels compilation on MSVC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansmodels/src/sans/models/c_models/gamma_win.c

    r2c041e9 r3eac3816  
    7575          y += 1.0; 
    7676      } else { 
    77           n = static_cast<int> (floor(y)) - 1;  // will use n later 
     77          n = (int) (floor(y)) - 1;  // will use n later 
    7878          y -= n; 
    7979      } 
     
    9999 
    100100      return result; 
    101     } 
    102  
    103     /////////////////////////////////////////////////////////////////////////// 
    104     // Third interval: [12, infinity) 
    105  
    106     if (x > 171.624) 
    107     { 
    108       // Correct answer too large to display. Force +infinity. 
    109       temp = DBL_MAX; 
    110       return temp*2.0; 
    111101    } 
    112102 
Note: See TracChangeset for help on using the changeset viewer.