lib/openstudio-standards/geometry/modify.rb in openstudio-standards-0.6.0.rc2 vs lib/openstudio-standards/geometry/modify.rb in openstudio-standards-0.6.3
- old
+ new
@@ -71,10 +71,10 @@
# Reset the z value of the lowest points within a certain threshold
new_vertices = []
sub_surface.vertices.each do |vertex|
if (vertex.z - min_z_val).abs < 0.025
- new_vertices << vertex + OpenStudio::Vector3d.new(0.0, 0.0, z_delta)
+ new_vertices << (vertex + OpenStudio::Vector3d.new(0.0, 0.0, z_delta))
else
new_vertices << vertex
end
end