Changeset a3002be in sasmodels


Ignore:
Timestamp:
Feb 27, 2017 11:11:22 AM (8 years ago)
Author:
GitHub <noreply@…>
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
3a45c2c, 5124c969, 23054a1
Parents:
788cbd1 (diff), 3fc5d27 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Paul Kienzle <pkienzle@…> (02/27/17 11:11:22)
git-committer:
GitHub <noreply@…> (02/27/17 11:11:22)
Message:

Merge pull request #32 from SasView?/ticket-858

ticket-858: hayter_msa should return NAN rather than -1 for bad model parameters. Closes #858

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/hayter_msa.c

    r4962519 r3fc5d27  
    7070                SofQ=sqhcal(Qdiam, gMSAWave); 
    7171        }else{ 
    72         //SofQ=NaN; 
    73                 SofQ=-1.0; 
     72        SofQ=NAN; 
    7473                //      print "Error Level = ",ierr 
    7574                //      print "Please report HPMSA problem with above error code" 
Note: See TracChangeset for help on using the changeset viewer.