Closed David-Berghaus closed 3 years ago
Calling "subs" on words with multiple occurences of the same variable seems to produce wrong results:
julia> @ncpolyvar y0 y1 x0 x1 (y0, y1, x0, x1) julia> subs(x1*x0*x1, x0=>y0, x1=>y1) y1y0x1
I would expect to get "y1y0y1" as a result but somehow "subs" only seems to replace one instance...
Calling "subs" on words with multiple occurences of the same variable seems to produce wrong results:
I would expect to get "y1y0y1" as a result but somehow "subs" only seems to replace one instance...