Skip to content

Fix derivate transformation output alignment

Created by: szarsti

I shifted output, so result is aligned with second of 2 values considered. Otherwise we end up with visual shift, which get deepened by derivative. It also makes mathematical sense.

I think that picture is worth a lot of words, so I drop some to explain

Before: screen shot 2016-05-12 at 13 48 34

After: screen shot 2016-05-12 at 15 10 18

This has nice side effect, that output is the same length.

Merge request reports