BHoM / BHoM_Engine

Internal manipulation of the BHoM
GNU Lesser General Public License v3.0
26 stars 13 forks source link

Typo in DomainTree creation #3317

Closed vietle-bh closed 5 months ago

vietle-bh commented 5 months ago

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):