Mercurial > octave
diff libinterp/corefcn/quadcc.cc @ 30036:80373844f8b2
maint: Use C++ style definition of struct rather than C style in quadcc.cc
* quadcc.cc: Replace typedef for cquad_ival struct with just struct definition.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 24 Aug 2021 17:54:43 -0700 |
parents | 7d6709900da7 |
children | 796f54d4ddbf |
line wrap: on
line diff
--- a/libinterp/corefcn/quadcc.cc Tue Aug 24 17:50:48 2021 -0700 +++ b/libinterp/corefcn/quadcc.cc Tue Aug 24 17:54:43 2021 -0700 @@ -51,14 +51,14 @@ static const int MIN_CQUAD_HEAPSIZE = 200; // Data of a single interval. -typedef struct +struct cquad_ival { double a, b; double c[64]; double fx[33]; double igral, err; int depth, rdepth, ndiv; -} cquad_ival; +}; // Define relative tolerance used when deciding to drop an interval. static const double DROP_RELTOL = std::numeric_limits<double>::epsilon () * 10;