@@ -419,6 +419,7 @@ void addtogfs(Node *node, int leaves, ex *zeiger, const ex & rhoS, int k){
419419void treegfs_symbolic_fast (Node *tree, int leaves, ex *gfs_k_symb, const ex & rhoS){
420420 int k;
421421 ex *zeiger;
422+ // printf("called treegfs_symbolic_fast\n");
422423 for (k = 1 ; k <= leaves; k++){
423424// printf("%d aus %d\n", k, leaves);
424425 zeiger = &gfs_k_symb[k-1 ];
@@ -507,6 +508,7 @@ double my_f_symbolic (const gsl_vector *v, void *params)
507508 float *theogfs_float;
508509 theogfs_float = new float [anzahl];
509510 for (inc = 0 ; inc < anzahl; inc++){
511+ // printf("%d\n",inc);
510512 theogfs_float[inc] = to_double (ex_to<numeric>(mysymbolicgfs[inc].subs (para->rhoS == rho).evalf ()));
511513 }
512514
@@ -593,7 +595,7 @@ void estimate_symbolic(float *theta_hat, float *rho_hat, Params_symbolic *paraS)
593595 int status;
594596 double size;
595597
596- // cout << "soweit alles ok \n";
598+ // cout << "so far fine \n";
597599
598600 /* optional set the starting points to a first simple estimate*/
599601
@@ -651,14 +653,14 @@ void estimate_symbolic(float *theta_hat, float *rho_hat, Params_symbolic *paraS)
651653
652654 if (status == GSL_SUCCESS )
653655 {
654- // printf ("converged to minimum at\n");
656+ printf (" converged to minimum at\n " );
655657 }
656658
657- // printf ("%5d %10.3e %10.3e f() = %7.3f size = %.3f\n",
658- // iter,
659- // gsl_vector_get (s->x, 0),
660- // gsl_vector_get (s->x, 1),
661- // s->fval, size);
659+ printf (" %5zu %10.3e %10.3e f() = %7.3f size = %.3f\n " ,
660+ iter,
661+ gsl_vector_get (s->x , 0 ),
662+ gsl_vector_get (s->x , 1 ),
663+ s->fval , size);
662664 }
663665 while (status == GSL_CONTINUE && iter < 100 );
664666
0 commit comments