Skip to content
Snippets Groups Projects
Commit d1bd70a7 authored by Michal Kravcenko's avatar Michal Kravcenko
Browse files

FIX: fixed issue #2

parent f87ab7e0
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@ MultiIndex::MultiIndex(size_t dimension) {
}
void MultiIndex::set_partial_derivative(size_t index, size_t value) {
this->partial_derivatives_degrees[ index ] = value;
this->partial_derivatives_degrees.at( index ) = value;
}
std::vector<size_t>* MultiIndex::get_partial_derivatives_degrees() {
......
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