diff src/quad.cc @ 1873:dc859604b19b

[project @ 1996-02-04 13:07:46 by jwe]
author jwe
date Sun, 04 Feb 1996 13:12:50 +0000
parents 3a9462b655f1
children e62277bf5fe0
line wrap: on
line diff
--- a/src/quad.cc
+++ b/src/quad.cc
@@ -212,7 +212,7 @@
       if (indefinite)
 	{
 	  IndefQuad iq (quad_user_function, bound, indef_type, abstol, reltol);
-	  iq.copy (quad_opts);
+	  iq.set_options (quad_opts);
 	  val = iq.integrate (ier, nfun, abserr);
 	}
       else
@@ -220,13 +220,13 @@
 	  if (have_sing)
 	    {
 	      DefQuad dq (quad_user_function, a, b, sing, abstol, reltol);
-	      dq.copy (quad_opts);
+	      dq.set_options (quad_opts);
 	      val = dq.integrate (ier, nfun, abserr);
 	    }
 	  else
 	    {
 	      DefQuad dq (quad_user_function, a, b, abstol, reltol);
-	      dq.copy (quad_opts);
+	      dq.set_options (quad_opts);
 	      val = dq.integrate (ier, nfun, abserr);
 	    }
 	}