From 0429d94e1c819938d45f5940da045e634eb912f3 Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Tue, 8 Dec 2020 20:38:33 -0500 Subject: [PATCH] Corrected a scaling error in the post-order reading routine. The routine attempts to rescale the contents of the top-level cell after moving forward in the GDS to find a cell that was used before it was defined, if reading that cell caused the scale to change. However, the numerator and denominator were reversed, causing the scaling to be the inverse of what it should have been. --- VERSION | 2 +- calma/CalmaRdcl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index e54e50cb..ae46bd9c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -8.3.93 +8.3.94 diff --git a/calma/CalmaRdcl.c b/calma/CalmaRdcl.c index 1634a805..8a6a6c5d 100644 --- a/calma/CalmaRdcl.c +++ b/calma/CalmaRdcl.c @@ -666,7 +666,7 @@ calmaElementSref(filename) scalen = 1; scaled = cifCurReadStyle->crs_multiplier / crsMultiplier; } - CIFScalePlanes(scalen, scaled, cifCurReadPlanes); + CIFScalePlanes(scaled, scalen, cifCurReadPlanes); } } else