I cannot find that error anywhere in romberg.c. It looks more like a QAG error.
What type of function are you integrating? Are there singularities? Have you tried increasing n? On 6/19/20 9:35 AM, Patrick Dupre wrote: > Hello, > > Using Romberg, I get: The maximum number of subdivisions was exceeded > with n= 25. > > How can I avoid it? > > Using cquad, I also got troubles! > > Thanks > > =========================================================================== > Patrick DUPRÉ | | email: pdu...@gmx.com > Laboratoire interdisciplinaire Carnot de Bourgogne > 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE > Tel: +33 (0)380395988 > =========================================================================== > >