[Maxima] Is there a way to suppress messages from tellsimp?
fateman at cs.berkeley.edu
Thu Dec 11 18:46:04 CST 2008
It is highly unlikely that the pattern is perfectly good if you get a
message like that.
True it is not 100% inevitable that it is faulty.
The message originates in a compiler (the match compiler)
section when it is left with what is an untenable pattern
to compile, and does "something". If you didn't write a pattern with the
recognition of what the "something" is, (see previous message), it is
an error, and that you will not be matching what you think you are matching.
If you would like to add to the message to indicate that it is probably
that seems like a better solution.
A properly constructed pattern will almost never get such a message. I
can see that
perhaps in a collection of 25 carefully written rules, you might have
one that validly
partitions a sum or product. If you have 25 such warnings, I would be
Robert Dodier wrote:
> On Thu, Dec 11, 2008 at 2:33 PM, Richard Fateman
> <fateman at cs.berkeley.edu> wrote:
>> The reason you are getting these messages is because your pattern is
>> very likely inadequate, and you should
>> consider a method to rewrite your pattern.
> As it stands, the "foo partitions bar" message doesn't indicate any
> kind of a problem. It's possible to have perfectly good patterns which
> trigger the message. Dunno what the intent of the message was when
> you wrote the pattern matching code.
> I'm inclined to just cut out the message, given that it doesn't indicate
> any usable information to the user, from what I can tell.
> Robert Dodier
> Maxima mailing list
> Maxima at math.utexas.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Maxima