Changeset 8836849 in sasview


Ignore:
Timestamp:
Feb 15, 2015 11:29:59 AM (9 years ago)
Author:
pkienzle
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:
5dfdfa7
Parents:
22ae2f7
Message:

Allow inf for default parameter bounds (closes #330)

Location:
src/sas/models
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/sas/models/c_extension/python_wrapper/modelTemplate.txt

    rfd5ac0d r8836849  
    2626from sas.models.BaseComponent import BaseComponent 
    2727from sas.models.sas_extension.c_models import [CPYTHONCLASS] 
     28from numpy import inf 
    2829 
    2930def create_[PYTHONCLASS](): 
  • src/sas/models/include/cylinder.h

    r22ae2f7 r8836849  
    3434 
    3535  /// Radius of the cylinder [A] 
    36   //  [DEFAULT]=radius=20.0 [A] 0.0 1e10 
     36  //  [DEFAULT]=radius=20.0 [A] 0.0 inf 
    3737  Parameter radius; 
    3838 
    3939  /// Length of the cylinder [A] 
    40   //  [DEFAULT]=length=400.0 [A] 0.0 1e10 
     40  //  [DEFAULT]=length=400.0 [A] 0.0 inf 
    4141  Parameter length; 
    4242 
Note: See TracChangeset for help on using the changeset viewer.