Skip to content

Commit

Permalink
Compatibility with older KLayout versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koefferlein committed Sep 5, 2023
1 parent 160e548 commit 2753cee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ruby/xsection_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def base_bbox
@lines.each do |line|
bbox += RBA::Box::new(line.p1, line.p2)
end
return bbox.enlarged(@extend, @extend)
return bbox.enlarged(RBA::Vector::new(@extend, @extend))
end

def layer(layer_spec, layout = nil, cell = nil)
Expand Down

0 comments on commit 2753cee

Please sign in to comment.