Changeset fbae881 in sasview for sansmodels/src


Ignore:
Timestamp:
Oct 6, 2010 4:59:00 PM (14 years ago)
Author:
Jae Cho <jhjcho@…>
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:
a1ecfc3
Parents:
35aface
Message:

fixed a minor bug in Shpereexpshell model

Location:
sansmodels/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sansmodels/src/sans/models/SphereExpShellModel.py

    ra7107a6 rfbae881  
    159159             
    160160            A = self.params['A_shell%s'% str(n)] 
    161             if A ==0: 
     161            if A <1.0e-16: 
    162162                # Right side of each shells 
    163163                r0 += self.params['thick_shell%s'% str(n)] 
  • sansmodels/src/setup.py

    r35aface rfbae881  
    1212import sys 
    1313import os 
    14 if len(sys.argv) == 1: 
    15     sys.argv.append('install') 
     14 
    1615from numpy.distutils.misc_util import get_numpy_include_dirs 
    1716numpy_incl_path = os.path.join(get_numpy_include_dirs()[0], "numpy") 
Note: See TracChangeset for help on using the changeset viewer.