[Num/DOF] don't use conservative resize in DoF table
it seems _rows.conservativeResize()
isn't working as expected on Windows or with MSVC. I observed entries in _rows
are overwritten after the call. _rows
stores std::vector<GlobalIndex>
in Eigen::Matrix
, and maybe conservativeResize()
cannot work well with this data type on MSVC.
Instead of resizing each time, I changed it to compute the size beforehand and resize it only once.