Closed vietle-bh closed 5 months ago
There seems to be a typo here ((min + min)/2): https://github.com/BHoM/BHoM_Engine/blob/d13f40bb41726cb0b8ab3b4c809ac6819a8266a5/Data_Engine/Create/DomainTree.cs#L130
The line should read ((min + max)/2) if ((data.DomainBox.Domains[index].Min + data.DomainBox.Domains[index].Max) / 2 < centre)
if ((data.DomainBox.Domains[index].Min + data.DomainBox.Domains[index].Max) / 2 < centre)
Description:
There seems to be a typo here ((min + min)/2): https://github.com/BHoM/BHoM_Engine/blob/d13f40bb41726cb0b8ab3b4c809ac6819a8266a5/Data_Engine/Create/DomainTree.cs#L130
Steps to reproduce:
Expected behaviour:
The line should read ((min + max)/2)
if ((data.DomainBox.Domains[index].Min + data.DomainBox.Domains[index].Max) / 2 < centre)
Test file(s):