fix occ identification propagation, use IsSame not ==

This commit is contained in:
Christopher Lackner 2022-09-08 17:48:11 +02:00
parent 412fd372d0
commit 9b58ece673

View File

@ -444,7 +444,7 @@ namespace netgen
for(auto from_mapped : mod_map[from]) for(auto from_mapped : mod_map[from])
for(auto to_mapped : mod_map[to]) for(auto to_mapped : mod_map[to])
{ {
if(from==from_mapped && to==to_mapped) if(from.IsSame(from_mapped) && to.IsSame(to_mapped))
continue; continue;
Transformation<3> trafo_mapped = ident.trafo; Transformation<3> trafo_mapped = ident.trafo;