Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework calcAxisLogScale(). Fixes endless loop. #717

Merged
merged 1 commit into from
May 23, 2024

Conversation

ivandi69
Copy link
Contributor

This PR addresses an issue with logarithmic axis.
If all Y-values in the dataset are close to 1, like 1 +/- 1e-6, Qucs-s enters endless loop with increasing memory allocation.

The attached schematic can be used to reproduce the issue and test the patch.
To reproduce the issue change the left axis to logarithmic. Make sure you can easily kill Qucs-s.
Tested with ngspice.
test-log-scale.sch.txt

@ra3xdh ra3xdh added the bug label May 12, 2024
@ra3xdh ra3xdh added this to the 24.3.0 milestone May 12, 2024
@ra3xdh
Copy link
Owner

ra3xdh commented May 23, 2024

I have checked this PR and found no issues. This PR is marked as WIP. Are planning to add more commits? Otherwise I will merge it.

@ivandi69
Copy link
Contributor Author

Works fine for me too. Nothing to add. You can merge it.

@ra3xdh ra3xdh marked this pull request as ready for review May 23, 2024 10:15
@ra3xdh ra3xdh merged commit 1dbd04f into ra3xdh:current May 23, 2024
2 checks passed
@ra3xdh
Copy link
Owner

ra3xdh commented May 23, 2024

Thanks for the contribution! Merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants