diff --git a/src/TNL/Meshes/MeshDetails/initializer/Initializer.h b/src/TNL/Meshes/MeshDetails/initializer/Initializer.h index 759490234a5a04f527eb124a4237f2e0d74a9a8b..acaeeaff4ab66abf552dc97b86ac71f77e67e67c 100644 --- a/src/TNL/Meshes/MeshDetails/initializer/Initializer.h +++ b/src/TNL/Meshes/MeshDetails/initializer/Initializer.h @@ -65,7 +65,9 @@ template< typename MeshConfig, bool EntityStorage = MeshTraits< MeshConfig >::template EntityTraits< DimensionTag::value >::storageEnabled, bool EntityReferenceOrientationStorage = - MeshTraits< MeshConfig >::template EntityTraits< DimensionTag::value >::orientationNeeded > + MeshTraits< MeshConfig >::template EntityTraits< DimensionTag::value >::orientationNeeded && + // orientationNeeded does not make sense without storageEnabled + MeshTraits< MeshConfig >::template EntityTraits< DimensionTag::value >::storageEnabled > class InitializerLayer;