Skip to content

Commit

Permalink
Merge pull request #144 from VirtualPhotonics/hotfix/143-vts-build-error
Browse files Browse the repository at this point in the history
Hotfix for the build error
  • Loading branch information
Lisa Malenfant authored Apr 29, 2024
2 parents 53b0743 + 13f3046 commit 36b14aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Vts.Scripting/ScriptHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ public static class ScriptHelper
/// </summary>
/// <param name="endpointRange">The range of endpoints</param>
/// <returns>The corresponding midpoint outputs</returns>
public static double[] GetMidpoints(this DoubleRange endpoints)
public static double[] GetMidpoints(this DoubleRange endpointRange)
{
return endpoints.AsEnumerable().ToArray().GetMidpoints();
return endpointRange.ToArray().GetMidpoints();
}

/// <summary>
Expand Down

0 comments on commit 36b14aa

Please sign in to comment.