45 Reputation

3 Badges

8 years, 191 days

MaplePrimes Activity

These are replies submitted by crazyeti

@Mac Dude I contacted customer service and here is the reply I've got so far,

It certainly looks like a bug. I tried it in various versions of Maple, including the GUI version, and the same thing happened, even after just copying-and-pasting the input for “expr1” to “expr2”.

I will let our developers know, and hopefully it will be fixed in a future version of Maple. Thank you for bringing this to our attention.

Don't know how serious they will loot at it. At least I'd like them to define the exact conditions that lead to the bug so I can avoid it in the future.

@Christopher2222 as others said, the bug is also there in the graphic interface. It only happens when you execute the statements with freshly started kernel. The second time you run it, it's gone. At least that's what happened in my machine. So I'm thinking it might be related to memory allocation for algebraic expressions. I haven't lost my confidence in Maple yet. The bug should just be a single incident. It's just annoying to know that now I have to double or triple check my result with different implementations due to this particular bug. Now everyone confirms it, I just hope Maple could post a solution/workaround soon, something like always executing the assignment statement twice etc. As an user, we wouldn't know what's the right solution/workaround that's guaranteed to work each time until Maple debugs their own source code.

Yes it is more general. I found it by noticing some inconsistency in my results when I implemented my calculation in two different ways. My original script is much more complicated, and the problem seems to occur when at least

1. there are identical expressions appeared in the script
2. the expression has some cancellation in terms and the number of terms must be large enough

Just to give some other examples the following two script would also not run correctly on my machines,



This bug makes me really nervous since now I'm not even sure if Maple can give me correct result.

Page 1 of 1