summaryrefslogtreecommitdiff
path: root/typenunit.pas
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-07-06 09:48:35 +0200
committerErich Eckner <git@eckner.net>2020-07-06 09:48:35 +0200
commit018dfdcb6d62b71bf8596fec4ffa0304f0c25536 (patch)
tree2cf7f9724c0d79e91dce28895444442ae513369e /typenunit.pas
parent0ff506a1c07ac389c8c96521072f39fd2000da64 (diff)
downloadepost-018dfdcb6d62b71bf8596fec4ffa0304f0c25536.tar.xz
typenunit.pas: tRTVorbereitungsTransformation macht nun die Achsen bei rechteckigen Eingangsdaten auch korrekt
Diffstat (limited to 'typenunit.pas')
-rw-r--r--typenunit.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/typenunit.pas b/typenunit.pas
index 7c7ac05..d73f9a8 100644
--- a/typenunit.pas
+++ b/typenunit.pas
@@ -2554,7 +2554,7 @@ var
begin
for c:='x' to 'y' do begin
outAchsen[c,'x']:=inAchsen[c,'x']; // TODO: vllt. zentrieren?
- outAchsen[c,'y']:=outAchsen[c,'x'] + (inAchsen[c,'y'] - inAchsen[c,'x']) * outXSTS['x']/inXSTS['x'];
+ outAchsen[c,'y']:=outAchsen[c,'x'] + (inAchsen[c,'y'] - inAchsen[c,'x']) * outXSTS[c]/inXSTS[c];
end;
end;