Welcome, Guest. Please Login
YaBB - Yet another Bulletin Board
 
  HomeHelpSearchLogin  
 
A bug in LFCompute FUNC (win32) (Read 2223 times)
U. Levitov
Guest


A bug in LFCompute FUNC (win32)
Apr 21st, 2006 at 6:52am
 
Hi,

Please be informed of a bug in HYPHY-P3.EXE - win32 .

Here is the log:
Error:lf is not a defined likelihood function ID  in call to LFCompute.
Current BL Command:LFCompute(lf,LF_START_COMPUTE)

Best regards,
Levitov
Back to top
 
 
IP Logged
 
Sergei
YaBB Administrator
*****
Offline


Datamonkeys are forever...

Posts: 1658
UCSD
Gender: male
Re: A bug in LFCompute FUNC (win32)
Reply #1 - Apr 21st, 2006 at 7:33am
 
Greetings,

Based on the error report, my first guess is that 'lf' was not defined prior to calling LFCompute. Typical usage would look like this:

Code:
Read some data
Define some trees and models

LikelihoodFunction lf = (myData, myTree);
LFCompute (lf,LF_START_COMPUTE);
LFCompute (lf,res);
LFCompute (lf,LF_DONE_COMPUTE);

 



Would you mind pasting in the complete code example which leads to the error?

Cheers,
Sergei
Back to top
 

Associate Professor
Division of Infectious Diseases
Division of Biomedical Informatics
School of Medicine
University of California San Diego
WWW WWW  
IP Logged