Re: Additive inverses of lists?
- To: mathgroup at smc.vnet.net
- Subject: [mg95791] Re: Additive inverses of lists?
- From: dh <dh at metrohm.com>
- Date: Tue, 27 Jan 2009 07:00:05 -0500 (EST)
- References: <glk1l9$lmj$1@smc.vnet.net>
Hi Erik,
it looks like the arguments of StreamPlot are not properly evaluated: E.g.:
StreamPlot[1 + {x, y}, {x, -3, 3}, {y, -3, 3}]
StreamPlot[1 {x, y}, {x, -3, 3}, {y, -3, 3}]
both crash the kernel.
This is a bug, please report it to Wolfram.
Daniel
Erik Max Francis wrote:
> Is this a known no-no, or did I find something new? (I obviously
> originally tried it in the graphical front end; I'm only doing it from
> the command line interface for demonstration.)
>
> max@boron:~% math
> Mathematica 7.0 for Linux x86 (32-bit)
> Copyright 1988-2008 Wolfram Research, Inc.
>
> In[1]:= StreamPlot[-{x, y}, {x, -3, 3}, {y, -3, 3}]
> zsh: segmentation fault math
>
> Interestingly enough if the StreamPlot is not involved, nothing but happens:
>
> In[1]:= -{a, b}
>
> Out[1]= {-a, -b}
>
> And plotting {-x, -y} instead of -{x, y} works fine:
>
> In[1]:= StreamPlot[{-x, -y}, {x, -3, 3}, {y, -3, 3}]
>
> Out[1]= -Graphics-
>