Skip to content
Snippets Groups Projects
Commit c7714e98 authored by Yonghui56's avatar Yonghui56
Browse files

fix a bug for initializing the size of secondary variable

parent bcde12c0
No related branches found
No related tags found
Loading
......@@ -193,9 +193,9 @@ private:
IntegrationMethod const _integration_method;
std::vector<ShapeMatrices> _shape_matrices;
std::vector<std::vector<double>> _darcy_velocities =
std::vector<std::vector<double>>(
GlobalDim, std::vector<double>(ShapeFunction::NPOINTS));
std::vector<std::vector<double>> _darcy_velocities
= std::vector<std::vector<double>>(
GlobalDim, std::vector<double>(_integration_method.getNumberOfPoints()));
};
......
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