algorithmic modeling for Rhino
Hi David
the bug is located inside the SolveInstance
double min = destination.Domain.Min;
double max = destination.Domain.Max;
for (int i = list.Count - 1; i >= 0; i--)
{
if ((list[i] >= max) || (list[i] <= min))
}
it should be if ((list[i] > max) || (list[i] a title="double min // Local Variable">min))
cheers,
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by