Commit 255cf7c2 authored by Martin Beseda's avatar Martin Beseda

FIX: Fixed pair elements accessing

parent e189ad95
......@@ -24,8 +24,8 @@ DataSet::DataSet(std::vector<std::pair<std::vector<double>, std::vector<double>>
this->n_elements = data_ptr->size();
this->data = *data_ptr;
this->input_dim = std::get<0>(this->data[0]).size();
this->output_dim = std::get<1>(this->data[0]).size();
this->input_dim = this->data[0].first.size();
this->output_dim = this->data[0].second.size();
//TODO check the complete data set for input/output dimensions
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment