11 lines
308 B
C#
11 lines
308 B
C#
namespace Skeleton.Algebra.FixableObjects;
|
|
|
|
internal static class PostConstructionFixExtension
|
|
{
|
|
internal static void PostConstructionFix<TFixable>(this TFixable obj)
|
|
where TFixable : FixableTensor
|
|
{
|
|
if (obj.GetType() == typeof(TFixable) && obj.NeedFix)
|
|
obj.Fix();
|
|
}
|
|
} |