Compile message suppression
- To: mathgroup at smc.vnet.net
- Subject: [mg39294] Compile message suppression
- From: "Y.A.Tesiram" <yas at pcomm.hfi.unimelb.edu.au>
- Date: Sun, 9 Feb 2003 04:52:28 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Dear Mathgroup, I have a function defined as f = Compile[{{arg1, _Real, 2}, {arg2, _Real}, {arg3, _Real}, Module[ {}, expr]] and I want to use a a non-Real assignment to arg2 called x, Mathematica correctly returns a warning message saying that assignment x should be a real, but it still returns the correct symbolic expression for f. How do I turn the message off or better still how can I handle this sort of assignment a little more thoroughly inside Compile? Thanks Yas