OS: Ubuntu 11.04<br><br>Compiled with g++: g++ -o test test.cpp -lcln -lginac<br><br>GiNaC ver: 1.60<br><br>Sample
version of program attached. My program is only meant to simplify expressions that resemble this form:<br>(x^n)^(1/n) = x<br><br>This program is using a particular value of n to demonstrate what I believe to be a bug (n=2). Two similar methods are employed to attempt to simplify the expression, using wildcards, but only the first one works, while the second doesn't. The second one is the most general one, useful for any situation ... if it worked. Is this a bug?<br>
<br>~Jon<br>