changeset 1483:6422f071ba11

[project @ 1995-09-26 09:24:44 by jwe]
author jwe
date Tue, 26 Sep 1995 09:24:44 +0000
parents 5f5d117aac3e
children 84796decb9af
files liboctave/Quad.cc
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/Quad.cc	Tue Sep 26 09:19:49 1995 +0000
+++ b/liboctave/Quad.cc	Tue Sep 26 09:24:44 1995 +0000
@@ -66,6 +66,7 @@
 }
 
 Quad::Quad (integrand_fcn fcn, double abs, double rel)
+  : Quad_options (abs, rel)
 {
   f = fcn;
 }
@@ -268,6 +269,12 @@
   init ();
 }
 
+Quad_options::Quad_options (double abs, double rel)
+{
+  x_absolute_tolerance = abs;
+  x_relative_tolerance = rel;
+}
+
 Quad_options::Quad_options (const Quad_options& opt)
 {
   copy (opt);