MathGroup Archive 2004

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

Search the Archive

Re: Compile with ReplaceList: bug report

  • To: mathgroup at smc.vnet.net
  • Subject: [mg52660] Re: Compile with ReplaceList: bug report
  • From: Joerg Schaber <schaber at molgen.mpg.de>
  • Date: Tue, 7 Dec 2004 04:09:52 -0500 (EST)
  • References: <couctq$q9u$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Yes, it does generate the same error message in 5.1.0.0.

yehuda ben-shimol wrote:
> Following a question posted by Joerg Schaber (schaber at molgen.mpg.de) and 
> some private discussion I found that the following code generates an 
> unexpected error message (I'm using version 5.0.0)
> myFunc = Compile[{{list1, _Real, 1}, {newList, _Real, 1}, {pos, 
> _Integer, 1}, {newPos, _Integer, 1}},
>     ReplacePart[list1, newList, pos, newPos]]
> 
> and the error message is
> 
> ReplacePart::argx : ReplacePart called with 4 arguments; 3 arguments are 
> expected.
> 
> I wonder if the this code generates an error message in version 5.1. If 
> it is It should be posted to WRI as a bug report.
> 
> Regards
> yehuda
> 


  • Prev by Date: Re: Partial fraction command
  • Next by Date: Algebraic simplification and speed
  • Previous by thread: Re: Practical problem
  • Next by thread: Algebraic simplification and speed