MathGroup Archive 2004

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

Search the Archive

Re: Compile with ReplaceList: bug report

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