namespace Skeleton.Algebra.FixableObjects; internal static class PostConstructionFixExtension { internal static void PostConstructionFix(this TFixable obj) where TFixable : FixableTensor { if (obj.GetType() == typeof(TFixable) && obj.NeedFix) obj.Fix(); } }