Skip to content

Commit

Permalink
got rid of calculation of likelihood in expected val mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Kern committed Sep 8, 2017
1 parent 5ceb870 commit e1643d7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions im_clam.c
Original file line number Diff line number Diff line change
Expand Up @@ -407,9 +407,11 @@ int main(int argc, char **argv){
printf("\n\n");
}
time2=clock();
lik = calcLikNLOpt(5,mle,NULL,currentParams);
printf("Likelihood: %g\n",lik);
if(rank==0)printf("w/ CSPARSE time:%f secs\n Liklihood Func. Evals: %d\n",(double) (time2-time1)/CLOCKS_PER_SEC,currentParams->fEvals);
//lik = calcLikNLOpt(5,mle,NULL,currentParams);
//

//printf("Likelihood: %g\n",lik);
//if(rank==0)printf("w/ CSPARSE time:%f secs\n Liklihood Func. Evals: %d\n",(double) (time2-time1)/CLOCKS_PER_SEC,currentParams->fEvals);
time1=clock();
break;
case 3:
Expand Down

0 comments on commit e1643d7

Please sign in to comment.