Fix some issues with parameters.

This commit is contained in:
Ottermandias 2024-01-10 15:44:19 +01:00
parent ed27b1dff4
commit 630647b544
14 changed files with 52 additions and 30 deletions

View file

@ -40,7 +40,7 @@ public readonly struct CustomizeParameterValue
=> x < 0 ? -x * x : x * x;
private static float Root(float x)
=> x < 0 ? -(float)Math.Sqrt(-x) : x;
=> x < 0 ? -(float)Math.Sqrt(-x) : (float)Math.Sqrt(x);
public float this[int idx]
=> _data[idx];