Skip to content

Commit

Permalink
Removed junk ctime usage from Diffusion Maps preprocessor
Browse files Browse the repository at this point in the history
  • Loading branch information
lisitsyn committed Sep 26, 2011
1 parent 0f76c54 commit cf86e1b
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/shogun/preprocessor/DiffusionMaps.cpp
Expand Up @@ -134,21 +134,14 @@ SGMatrix<float64_t> CDiffusionMaps::apply_to_feature_matrix(CFeatures* features)

float64_t* kkt_matrix = SG_MALLOC(float64_t, N*N);

CTime* time = new CTime(true);

cblas_dgemm(CblasColMajor,CblasTrans,CblasNoTrans,
N,N,N,
1.0,kernel_matrix.matrix,N,
kernel_matrix.matrix,N,
0.0,kkt_matrix,N);

SG_PRINT("%fs passed\n",time->cur_time_diff());

delete time;

int32_t info = 0;


wrap_dsyevr('V','U',N,kkt_matrix,N,N-m_target_dim,N,s_values,kernel_matrix.matrix,&info);
if (info)
SG_ERROR("DGESVD failed with %d code", info);
Expand Down

0 comments on commit cf86e1b

Please sign in to comment.