From 3d9b665263de87ece43bab45cbc621fc0816b664 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Sat, 10 Feb 2024 18:48:44 +0100 Subject: [PATCH] [consider merging] bugfix issue #1616 - typo in DRC doc --- src/doc/doc/about/drc_ref_global.xml | 2 +- src/drc/drc/built-in-macros/_drc_cop_integration.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/doc/doc/about/drc_ref_global.xml b/src/doc/doc/about/drc_ref_global.xml index f18b0f0e7..670651628 100644 --- a/src/doc/doc/about/drc_ref_global.xml +++ b/src/doc/doc/about/drc_ref_global.xml @@ -828,7 +828,7 @@ The following example selects all shapes which are rectangles and whose area is larger than 0.5 square micrometers:

-out = in.drc(if_all(area > 0.5, rectangle))
+out = in.drc(if_all(area > 0.5, rectangles))
 

The condition expressions may be of any type (edges, edge pairs and polygons). diff --git a/src/drc/drc/built-in-macros/_drc_cop_integration.rb b/src/drc/drc/built-in-macros/_drc_cop_integration.rb index 8eebae6fb..7b617aab0 100644 --- a/src/drc/drc/built-in-macros/_drc_cop_integration.rb +++ b/src/drc/drc/built-in-macros/_drc_cop_integration.rb @@ -555,7 +555,7 @@ module DRC # whose area is larger than 0.5 square micrometers: # # @code - # out = in.drc(if_all(area > 0.5, rectangle)) + # out = in.drc(if_all(area > 0.5, rectangles)) # @/code # # The condition expressions may be of any type (edges, edge pairs and polygons).