Changeset 503


Ignore:
Timestamp:
May 14, 2009 12:47:24 PM (14 years ago)
Author:
ajj
Message:

Fixes to make lib compile on windows

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/XOP_Dev/SANSAnalysis/lib/libCylinder.c

    r501 r503  
    28622862        bkg = dp[10]; 
    28632863         
    2864         char temp[256]; 
    2865          
    2866         /*sprintf(temp, "%f; %f; %f; %f; %f; %f; %f; %f; %f; %f; %f;\r", scale, radius, sigma,length,radthick,facthick,rhoc,rhoh,rhor,rhosolv,bkg); 
    2867         XOPNotice(temp);*/ 
    2868          
    28692864        Pi = 4.0*atan(1.0); 
    28702865         
     
    28742869        } 
    28752870        uplim = exp(log(radius)+(4.*sigma)); 
    2876          
    2877         /*sprintf(temp, "%f; %f;\r", lolim,uplim); 
    2878         XOPNotice(temp);*/ 
    28792871         
    28802872        summ = 0.0; 
     
    29012893        // add in the background 
    29022894        answer += bkg; 
    2903          
    2904         /*sprintf(temp, "Q = %f : summ = %f : Rsqrsumm = %f : Ans = %f\r", q, summ, Rsqrsumm,answer); 
    2905         XOPNotice(temp);*/ 
    29062895                 
    29072896        return answer; 
     
    30343023        vb = 1; 
    30353024         
     3025        summ = 0.0; 
     3026        retval = 0.0; 
     3027 
    30363028        //Do Inner integral 
    30373029        for(i=0;i<nord;i++){ 
Note: See TracChangeset for help on using the changeset viewer.