MathGroup Archive 1996

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: InterpolatingFunction::dmwarn: Warning

  • To: mathgroup at smc.vnet.net
  • Subject: [mg5504] Re: [mg5488] InterpolatingFunction::dmwarn: Warning
  • From: Sherman Reed <Sherman.Reed at worldnet.att.net>
  • Date: Sat, 14 Dec 1996 19:26:06 -0500
  • Sender: owner-wri-mathgroup at wolfram.com

At 08:16 AM 12/11/96 +0000, you wrote:
>Can anyone explain why the following code generates the
>above warning?
>
>secsperyear = 365.25*24*60*60;
>Nt=56;
>deltat = secsperyear/Nt;
>seasonaltime = n deltat;
>testtable=Table[{x,x^2},{x,0,secsperyear,secsperyear/100}];
>interpFunc=Interpolation[testtable];
>
>seasonaltime1=3.15576*10^7;
>
>interpFunc[seasonaltime1]; (* no domain warning message *)
>n=Nt;
>interpFunc[seasonaltime]; (* this DOES produce domain-warning message?!
>yet SameQ[seasonaltime,seasonaltime1] is True?! *)
>
>I am totally mystified!  Is this a bug in InterpolatingFunction?
>
>Thanks for any advice or explanations.
>
>Jonathan Rich
>rich at earth.nwu.edu
>
>
Jonathan,

I certainly CANNOT explain why the code generates the warning.

I can duplicate the warning with your code and 2.2.3.

When I run the code under 3.0, I get identical numeric results

as far as I can tell easily, but I DO NOT get the warning.

sounds like a bug fix went into 3.0.

sherman reed



  • Prev by Date: Re: Cross product
  • Next by Date: Re: Re: Solving a numerical integration
  • Previous by thread: InterpolatingFunction::dmwarn: Warning
  • Next by thread: Re: InterpolatingFunction::dmwarn: Warning