ROL_ThyraVector.hpp needs to include Thyra_ProductVectorSpaceBase.hpp
Created by: mhoemmen
Lines 99 and 175 of ROL_ThyraVector.hpp
use a Thyra::ProductVectorSpaceBase
method (namely numBlocks
, but the file does not include Thyra_ProductVectorSpaceBase.hpp
. For example:
Thyra_ProductVectorBase.hpp
forward-declares Thyra::ProductVectorSpaceBase
, but does not include it, either directly or indirectly. This is not a Thyra bug; Thyra conservatively prefers forward declarations to includes, as a way to reduce build time.
Our current work-around is to include Thyra_ProductVectorSpaceBase.hpp
above the ROL_ThyraVector.hpp
include.
@trilinos/rol @dridzal @gregvw @micahahoward