Skip to content

NIntegrate(1/x, {x, 0, 1}, MaxPoints->10000) - StackOverflowError #150

@axkr

Description

@axkr

This expression creates a StackOverflowError

NIntegrate(1/x, {x, 0, 1}, MaxPoints->10000)

In this line factory.legendre(10000, 0.0, 1.0) is called:

java.lang.StackOverflowError
	at java.lang.Number.<init>(Number.java:55)
	at java.lang.Integer.<init>(Integer.java:849)
	at java.lang.Integer.valueOf(Integer.java:832)
	at org.hipparchus.analysis.integration.gauss.BaseRuleFactory.getRuleInternal(BaseRuleFactory.java:99)
	at org.hipparchus.analysis.integration.gauss.LegendreRuleFactory.computeRule(LegendreRuleFactory.java:51)
	at org.hipparchus.analysis.integration.gauss.BaseRuleFactory.getRuleInternal(BaseRuleFactory.java:101)
	at org.hipparchus.analysis.integration.gauss.LegendreRuleFactory.computeRule(LegendreRuleFactory.java:51)
	at org.hipparchus.analysis.integration.gauss.BaseRuleFactory.getRuleInternal(BaseRuleFactory.java:101)
	at org.hipparchus.analysis.integration.gauss.LegendreRuleFactory.computeRule(LegendreRuleFactory.java:51)
	at org.hipparchus.analysis.integration.gauss.BaseRuleFactory.getRuleInternal(BaseRuleFactory.java:101)
	at org.hipparchus.analysis.integration.gauss.LegendreRuleFactory.computeRule(LegendreRuleFactory.java:51)
	at org.hipparchus.analysis.integration.gauss.BaseRuleFactory.getRuleInternal(BaseRuleFactory.java:101)
	at org.hipparchus.analysis.integration.gauss.LegendreRuleFactory.computeRule(LegendreRuleFactory.java:51)
	at org.hipparchus.analysis.integration.gauss.BaseRuleFactory.getRuleInternal(BaseRuleFactory.java:101)
	at org.hipparchus.analysis.integration.gauss.LegendreRuleFactory.computeRule(LegendreRuleFactory.java:51)
	at org.hipparchus.analysis.integration.gauss.BaseRuleFactory.getRuleInternal(BaseRuleFactory.java:101)
	at org.hipparchus.analysis.integration.gauss.LegendreRuleFactory.computeRule(LegendreRuleFactory.java:51)
	at org.hipparchus.analysis.integration.gauss.BaseRuleFactory.getRuleInternal(BaseRuleFactory.java:101)
	at org.hipparchus.analysis.integration.gauss.LegendreRuleFactory.computeRule(LegendreRuleFactory.java:51)
	at org.hipparchus.analysis.integration.gauss.BaseRuleFactory.getRuleInternal(BaseRuleFactory.java:101)
	at org.hipparchus.analysis.integration.gauss.LegendreRuleFactory.computeRule(LegendreRuleFactory.java:51)
	at org.hipparchus.analysis.integration.gauss.BaseRuleFactory.getRuleInternal(BaseRuleFactory.java:101)
	at org.hipparchus.analysis.integration.gauss.LegendreRuleFactory.computeRule(LegendreRuleFactory.java:51)
	at org.hipparchus.analysis.integration.gauss.BaseRuleFactory.getRuleInternal(BaseRuleFactory.java:101)
	at org.hipparchus.analysis.integration.gauss.LegendreRuleFactory.computeRule(LegendreRuleFactory.java:51)
	at org.hipparchus.analysis.integration.gauss.BaseRuleFactory.getRuleInternal(BaseRuleFactory.java:101)
	at org.hipparchus.analysis.integration.gauss.LegendreRuleFactory.computeRule(LegendreRuleFactory.java:51)
	at org.hipparchus.analysis.integration.gauss.BaseRuleFactory.getRuleInternal(BaseRuleFactory.java:101)
	at org.hipparchus.analysis.integration.gauss.LegendreRuleFactory.computeRule(LegendreRuleFactory.java:51)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions