Add fix for ICC after last merge
icc compilation is currently broken in master after the previous merge due to the boost_dynamic_cast
bug from base to derived classes. This MR fixes the issue in the same manner as implemented inside StdExpansion
by adding a templated as<>()
function to EquationSystem
.