Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #12622

error messages in Mathematica 9

From Ø. Holen <o.h.holen@bio.uio.no>
Newsgroups comp.soft-sys.math.mathematica
Subject error messages in Mathematica 9
Date 2012-12-05 08:10 +0000
Message-ID <k9mvi2$b9i$1@smc.vnet.net> (permalink)
Organization Time-Warner Telecom

Show all headers | View raw


I find that code that worked well in Mathematica 8 often produces error messages in Mathematica 9, although graphs are still produced correctly. The following code is a constructed example that illustrates the issue I'm struggling with:

f[x_] := Module[{y}, y /. FindRoot[x - y, {y, 0}]];
RegionPlot[ f[x] > 0, {x, -1, 1}, {b, -1, 1}]

Any suggestions about what the error is? 
Typical error messages are:

FindRoot::nlnum: The function value {0. +Region`Private`RegionVar[1.]} is not a list of numbers with dimensions {1} at {y$897} = {0.}. >>

ReplaceAll::reps: {FindRoot[Region`Private`RegionVar[1]-y$897,{y$897,0}]} is neither a list of replacement rules nor a valid dispatch table, and so cannot be used for replacing. >>

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

error messages in Mathematica 9 Ø. Holen <o.h.holen@bio.uio.no> - 2012-12-05 08:10 +0000

csiph-web