diff --git a/Program.cs b/Program.cs index 023c829..75ea7d3 100644 --- a/Program.cs +++ b/Program.cs @@ -445,7 +445,8 @@ internal static class Interpreter throw new InvalidOperationException(); } } - + + [SkipLocalsInit] public static float[] Evaluate(Instruction[] instructions, int imageSize, InterpreterOptions options = default, float[]? result = null) where T : unmanaged { @@ -515,7 +516,6 @@ internal static class Interpreter } else if (typeof(T) == typeof(Vector)) { - return (T)(object)(Unsafe.As>(ref a) - Unsafe.As>(ref b)); } else