Menu

Output declaration 'order' not applied to operator arguments?

Help
2020-09-24
2020-09-25
  • Co-Processor

    Co-Processor - 2020-09-24

    A minor thing: after declaring order x,t the output of x-t remains x-t. But f(x-t) (having declared operator f) still becomes f(-t+x). Is this by intention?

     
  • Eberhard Schruefer

    I can't reproduce what you are reporting. I get

    1: operator f;
    
    2: f(x-t);
    
    f( - t + x)
    
    3: order x,t;
    
    4: f(x-t);
    
    f(x - t)
    

    Waht is your version of REDUCE?
    Eberhard

     
    • Co-Processor

      Co-Processor - 2020-09-25

      Thank you for looking into this. I am using the CSL version, revision 5368, from June this year. See attached screen shot.
      Wolfgang

       
  • Eberhard Schruefer

    Thanks. Now I see. The problem occurs when using the GUI. It is o.k. with the CLI as I had shown. We will investigate the issue.
    Eberhard

     
  • Eberhard Schruefer

    I just commited a fix that cures the problem to sourceforge. It will be contained in the next snapshot.

    Eberhard

     

Log in to post a comment.