Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Re: Compile with ReplaceList: bug report

  • To: mathgroup at
  • Subject: [mg52660] Re: Compile with ReplaceList: bug report
  • From: Joerg Schaber <schaber at>
  • Date: Tue, 7 Dec 2004 04:09:52 -0500 (EST)
  • References: <couctq$q9u$>
  • Sender: owner-wri-mathgroup at

Yes, it does generate the same error message in

yehuda ben-shimol wrote:
> Following a question posted by Joerg Schaber (schaber at 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