Skip to content

Use precise A in viewers#61

Open
heswithme wants to merge 2 commits intomainfrom
fix-viewers-A-precision
Open

Use precise A in viewers#61
heswithme wants to merge 2 commits intomainfrom
fix-viewers-A-precision

Conversation

@heswithme
Copy link
Copy Markdown
Member

Viewers (get_dy, get_dx, etc.) used rounded A() * A_PRECISION, while swaps use time-interpolated A_precise(). During ramps this diverges (e.g. A()=194 → 19400 vs A_precise()=19436), causing previews to sometimes over- and sometimes under-estimate depending on direction and imbalance. Switch viewers to the precise value to match execution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant