Skip to content

Commit

Permalink
Fix cloning issue for takeoff items in aggregation method
Browse files Browse the repository at this point in the history
  • Loading branch information
IsakNaslundBh committed May 9, 2023
1 parent dbb7686 commit 615ffc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Matter_Engine/Compute/AggregateGeneralMaterialTakeoff.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public static GeneralMaterialTakeoff AggregateGeneralMaterialTakeoff(IEnumerable
takeoffItem.VolumetricFlowRate += current.VolumetricFlowRate;
}
else
takeoffItem = current;
takeoffItem = current.ShallowClone();

hashedTakeoffItems[hash] = takeoffItem;
}
Expand Down

0 comments on commit 615ffc4

Please sign in to comment.