Another checkpoint.
This commit is contained in:
@@ -59,7 +59,8 @@ class SubDenseMatrix {
|
||||
ar & n_cols;
|
||||
|
||||
for(unsigned int j = 0; j < nodes_->size(); j++) {
|
||||
if((*nodes_)[j] != NULL && (*nodes_)[j]->is_leaf()) {
|
||||
if((*nodes_)[j] != NULL && (*nodes_)[j]->is_leaf() &&
|
||||
(*serialize_points_per_terminal_node_)[j]) {
|
||||
for(int i = (*nodes_)[j]->begin(); i < (*nodes_)[j]->end(); i++) {
|
||||
const double *column_ptr = matrix_->GetColumnPtr(i);
|
||||
for(int k = 0; k < matrix_->n_rows(); k++) {
|
||||
@@ -84,7 +85,8 @@ class SubDenseMatrix {
|
||||
}
|
||||
|
||||
for(unsigned int j = 0; j < nodes_->size(); j++) {
|
||||
if((*nodes_)[j] != NULL && (*nodes_)[j]->is_leaf()) {
|
||||
if((*nodes_)[j] != NULL && (*nodes_)[j]->is_leaf() &&
|
||||
(*serialize_points_per_terminal_node_)[j]) {
|
||||
for(int i = (*nodes_)[j]->begin(); i < (*nodes_)[j]->end(); i++) {
|
||||
double *column_ptr =
|
||||
const_cast<double *>(matrix_->GetColumnPtr(i));
|
||||
|
||||
+1
-1
@@ -125,7 +125,7 @@ bool DistributedKde<DistributedTableType>::ConstructBoostVariableMap_(
|
||||
"Generate the datasets on the fly of the specified dimension."
|
||||
)(
|
||||
"random_generate_n_entries",
|
||||
boost::program_options::value<int>()->default_value(100),
|
||||
boost::program_options::value<int>()->default_value(10000),
|
||||
"Generate the datasets on the fly of the specified number of points."
|
||||
)(
|
||||
"densities_out",
|
||||
|
||||
Reference in New Issue
Block a user