Skip to content

Fix: avoid infinite recursion in SopeUtilities; Fix wrong DBL_MAX definition.#3033

Open
GabrieleManduchi wants to merge 1 commit intoalphafrom
gm-fix-jscope
Open

Fix: avoid infinite recursion in SopeUtilities; Fix wrong DBL_MAX definition.#3033
GabrieleManduchi wants to merge 1 commit intoalphafrom
gm-fix-jscope

Conversation

@GabrieleManduchi
Copy link
Contributor

@GabrieleManduchi GabrieleManduchi commented Mar 11, 2026

ScopeUtilities routines are called by jScope in order to optimize data access.
A check for infinite recursion has been added to avoid segfault in the mdsip server and having jScope signal the loss of the data server.
Constant INFINITY is now set to DBL_MAX as expected by jScope. The wrong INFINITY definition caused wrong visualization under particular circumstances when no x limits were defined

@WhoBrokeTheBuild WhoBrokeTheBuild changed the title Fix: avoid infinite recursion in SopeUtilities; Fix wrong DBL_MAX def… Fix: avoid infinite recursion in SopeUtilities; Fix wrong DBL_MAX definition. Mar 17, 2026
@WhoBrokeTheBuild WhoBrokeTheBuild added bug An unexpected problem or unintended behavior tool/jScope Relates to the jScope tool labels Mar 17, 2026
…inition.

ScopeUtilities routines are called by jScope in order to optimize data access. A check for infinite recursion has been added. Constant INFINITY is now set to DBL_MAX as expected by jScope
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug An unexpected problem or unintended behavior tool/jScope Relates to the jScope tool

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants