Skip to content
Snippets Groups Projects
Commit dd1de7b6 authored by Davide Branduardi's avatar Davide Branduardi
Browse files

bug in 1d and multivariate

removed condition that seemed to create very large support
in sum hills calculation and resulting into a very large computational
time. Credits to Carolyn Phillips from the mailing list.
parent e1b845b4
No related branches found
No related tags found
No related merge requests found
......@@ -120,7 +120,7 @@ void KernelFunctions::setData( const std::vector<double>& at, const std::vector<
center.resize( at.size() ); for(unsigned i=0;i<at.size();++i) center[i]=at[i];
width.resize( sig.size() ); for(unsigned i=0;i<sig.size();++i) width[i]=sig[i];
diagonal=false;
if (multivariate==false || at.size()==1 ) diagonal=true;
if (multivariate==false ) diagonal=true;
// Setup the kernel type
if(type=="GAUSSIAN" || type=="gaussian"){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment