Skip to content
Snippets Groups Projects
Unverified Commit 6008f78b authored by Nora Abi Akar's avatar Nora Abi Akar Committed by GitHub
Browse files

bug fix: fine matrix solve

parent eef88d1e
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@ forest::forest(const std::vector<size_type>& p, const std::vector<size_type>& ce
util::assign_from(
util::transform_view(
util::subrange_view(p, cell_cv_divs[c], cell_cv_divs[c+1]),
[cell_start](unsigned i) {return i-cell_start;}));
[cell_start](unsigned i) {return i == -1 ? i : i - cell_start;}));
auto fine_tree = tree(cell_p);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment