diff --git a/Program.cs b/Program.cs index 5c3c3c7..a4b9605 100644 --- a/Program.cs +++ b/Program.cs @@ -425,7 +425,7 @@ internal enum InterpreterOptions internal static class Interpreter { [MethodImpl(MethodImplOptions.AggressiveInlining)] - public static T GetElement(Span values) + public static T GetValues(Span values) { if (typeof(T) == typeof(float)) { @@ -469,7 +469,7 @@ internal static class Interpreter (xs[idx], ys[idx]) = (vx, vy); } - T results = Evaluate(instructions, GetElement(xs), GetElement(ys)); + T results = Evaluate(instructions, GetValues(xs), GetValues(ys)); for (int idx = 0; idx < chunkSize; ++idx) { int currentIdx = chunkIdx * chunkSize + idx;