From 785e754de79450113b06017936991490a7dda529 Mon Sep 17 00:00:00 2001 From: pl8787 Date: Fri, 18 Apr 2014 18:58:54 +0800 Subject: [PATCH] fix function name. --- examples/undocumented/libshogun/kernel_custom.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/undocumented/libshogun/kernel_custom.cpp b/examples/undocumented/libshogun/kernel_custom.cpp index d00da9046d6..8828e92a8bd 100644 --- a/examples/undocumented/libshogun/kernel_custom.cpp +++ b/examples/undocumented/libshogun/kernel_custom.cpp @@ -16,7 +16,7 @@ using namespace shogun; -void test_costom_kernel_index_subsets() +void test_custom_kernel_index_subsets() { /* create some data */ index_t m=10; @@ -39,17 +39,17 @@ void test_costom_kernel_index_subsets() col_subset.permute(); /* create index features */ - CIndexFeatures* row_idx_feat = new CIndexFeatures(row_subset); - CIndexFeatures* col_idx_feat = new CIndexFeatures(col_subset); + CIndexFeatures* row_idx_feat=new CIndexFeatures(row_subset); + CIndexFeatures* col_idx_feat=new CIndexFeatures(col_subset); SG_REF(row_idx_feat); SG_REF(col_idx_feat); custom_kernel->init(row_idx_feat, col_idx_feat); - SGMatrix gaussian_kernel_matrix = + SGMatrix gaussian_kernel_matrix= gaussian_kernel->get_kernel_matrix(); - SGMatrix custom_kernel_matrix = + SGMatrix custom_kernel_matrix= custom_kernel->get_kernel_matrix(); for (index_t i=0; iset_loglevel(MSG_DEBUG); test_custom_kernel_subsets(); - test_costom_kernel_index_subsets(); + test_custom_kernel_index_subsets(); exit_shogun(); return 0;