Ignore:
Timestamp:
Jul 26, 2007 4:13:48 PM (16 years ago)
Author:
srkline
Message:

Fixed return statement in SHS and SW structure factors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Analysis/branches/ajj_23APR07/XOPs/SANSAnalysis/XOP/StructureFactor.c

    r102 r136  
    6969                        dp= WaveData(p->waveHandle); 
    7070                        p->result = StickyHS_Struct(dp,q); 
     71                        return 0; 
    7172                default:                                                                // We can't handle this wave data type. 
    7273                        SetNaN64(&p->result); 
     
    102103                        fp= WaveData(p->waveHandle); 
    103104                        SetNaN64(&p->result); 
     105                        XOPNotice("I think it's single precision\r"); 
    104106                        return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07                     
    105107                case NT_FP64: 
    106108                        dp= WaveData(p->waveHandle); 
    107109                        p->result = SquareWellStruct(dp,q); 
     110                        return 0; 
    108111                default:                                                                // We can't handle this wave data type. 
    109112                        SetNaN64(&p->result); 
     113                        XOPNotice("I don't know what it is\r"); 
    110114                        return REQUIRES_SP_OR_DP_WAVE; 
    111115        } 
Note: See TracChangeset for help on using the changeset viewer.