Verified Commit b62e8c0a authored by Justin Carpentier's avatar Justin Carpentier
Browse files

core: fix return of BVHModel<BV>::memUsage

parent ae8e92fc
......@@ -826,7 +826,7 @@ int BVHModel<BV>::memUsage(const bool msg) const
std::cerr << "Vertices: " << num_vertices << " allocated." << std::endl;
}
return BVH_OK;
return total_mem;
}
template<typename BV>
......
Markdown is supported
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