You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was testing intersect_match function using simple 2 boxes stacking vertically which has adjscency between roof and floor. However, all the outside boundary condition set to outside which implies this API is not working properly. After investigation, I found that if I change following code to suggestion code in match_idf_surfaces, the problem is fixed.
I understand intension in original code but suggestion code could widen the case which caught by this if sentence.
What do you think about this revision and if you have some intension to keep original code, I would like to know. Original code. if almostequal(s.coords, reversed(m.coords)):.
Suggestion code. if almostequal(sorted(s.coords),sorted(m.coords)):
The text was updated successfully, but these errors were encountered:
I was testing intersect_match function using simple 2 boxes stacking vertically which has adjscency between roof and floor. However, all the outside boundary condition set to outside which implies this API is not working properly. After investigation, I found that if I change following code to suggestion code in match_idf_surfaces, the problem is fixed.
I understand intension in original code but suggestion code could widen the case which caught by this if sentence.
What do you think about this revision and if you have some intension to keep original code, I would like to know.
Original code.
if almostequal(s.coords, reversed(m.coords)):
.Suggestion code.
if almostequal(sorted(s.coords),sorted(m.coords)):
The text was updated successfully, but these errors were encountered: