Skip to content

Commit

Permalink
Removed a few SLEP warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
lisitsyn committed May 10, 2012
1 parent 904ebab commit 1b58787
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/shogun/lib/slep/SpInvCoVa/invCov.cpp
Expand Up @@ -38,7 +38,7 @@ int lassoCD(double *Theta, double *W, double *S, double lambda, int n, int ith,
{
int iter_step, i,j;
double * Ax, * x;
double u, v, s_v, t, x_new;
double u, v, s_v, t=0, x_new;
double fun_new,fun_old=-100;
double x_change;

Expand Down
2 changes: 1 addition & 1 deletion src/shogun/lib/slep/flsa/flsa.h
Expand Up @@ -178,7 +178,7 @@ void flsa(double *x, double *z, double *infor,
double *Av, *g, *s;
int iterStep, numS;
double gap;
double *zz; /*to replace z0, so that z0 shall not revised after */
double *zz = NULL; /*to replace z0, so that z0 shall not revised after */


Av=(double *) malloc(sizeof(double)*nn);
Expand Down
2 changes: 1 addition & 1 deletion src/shogun/lib/slep/slep_tree_lsr.cpp
Expand Up @@ -26,7 +26,7 @@ double* slep_tree_lsr(
int n_feats = features->get_dim_feature_space();
int n_vecs = features->get_num_vectors();
double lambda, lambda_max, beta;
double funcp, func;
double funcp = 0.0, func = 0.0;

int iter = 1;
bool done = false;
Expand Down

0 comments on commit 1b58787

Please sign in to comment.