MathGroup Archive 2003

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

Search the Archive

constant -> constant

  • To: mathgroup at smc.vnet.net
  • Subject: [mg41945] constant -> constant
  • From: carlos at colorado.edu (Carlos Felippa)
  • Date: Wed, 11 Jun 2003 03:49:36 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

I traced a bug in a large program to an unexpected 
substitution.  This gives the idea:

a=b=0; Print [a/.b->1];

1

Is this correct behavior and, is there a way to guard
against this happening?


  • Prev by Date: Gamma distribution
  • Next by Date: Mathematica doesn't start??
  • Previous by thread: Re: Gamma distribution
  • Next by thread: Re: constant -> constant