| T O P I C    R E V I E W | 
               
              
                | jazgara@un1 | 
                Posted - 02/10/2003 : 07:02:13 AM  Hello, I have modyfied my function Aga (User forum topic: fitting function with integral in Origin C). I can compile it now, but I still have a big problem with colling this function from NLSF. I get the results for the initialisation values of parameters only and a program "doesn't want to fit" those results to an experimental profile. The return statement of my function is a vector . Is it a reason of my troubles? The last part of my modyfied script: vector Aga(vector x, double lc, double d, double w, double alfa, double A) {  \\............ 	dd=result;  \\result is a Dataset  	return dd; } Could anybody help me? Thank you. Aga | 
               
              
                | 1   L A T E S T    R E P L I E S    (Newest First) | 
               
              
                | easwar | 
                Posted - 02/10/2003 : 1:07:42 PM  Hi Aga,
  Your return type has to be double. Best would be for you to send your FDF file and any associated C files to your local tech support office and they can help you sort this out.
  Easwar OriginLab.
    | 
               
             
           | 
         
       
       
     |