Menu

#155 on nero problem

None
closed
None
5
2023-11-05
2023-09-24
No

Hi All,

I'm using Reduce (CSL, rev 6547), 07-Mar2023, on Windows 10.
If I use "on nero" in the attached file, I get "malformed-TeX-input" when all the components are zero.
I think it should print nothing in the case all the components are zero, not "malformed-TeX-input".

Daniel Volinski

1 Attachments

Related

Bugs: #155

Discussion

  • Eberhard Schruefer

    Hi,
    Thanks for reporting the issue. The message only appears with fancy printing, for example when the graphical interface is used. If you put the following after loading excalc

    symbolic procedure indxpri(v,u);
       begin scalar x,y,z;
         y := flatindxl allindk v;
         for each j in mkaindxc(y,if coposp cdr v
                                     then get(car v,'indxsymmetries)
                                   else nil) do
           <<x := pair(y,j);
             z := aeval subla(x,v);
             if null(!*nero and (z = 0)) then
             <<maprin list('setq,subla(x,v),z);
             if not !*nat then prin2!* "$";
             terpri!* t>> else maprin " ">>
       end;
    

    does the message disappear? If so I will commit the change so that it will be included in the next snapshot.
    Eberhard

     
    • Daniel Volinski

      Daniel Volinski - 2023-09-25

      Hi Eberhard,
      Thank you for the fix.It works, except that I get a message: "local variable u in procedure indxpri not used",
      which is true, the u is never used.Thanks again.
      Daniel Volinski

      En domingo, 24 de septiembre de 2023, 20:58:45 GMT+3, Eberhard Schruefer <eschruefer@users.sourceforge.net> escribió:
      

      Hi,
      Thanks for reporting the issue. The message only appears with fancy printing, for example when the graphical interface is used. If you put the following after loading excalc
      symbolic procedure indxpri(v,u);
      begin scalar x,y,z;
      y := flatindxl allindk v;
      for each j in mkaindxc(y,if coposp cdr v
      then get(car v,'indxsymmetries)
      else nil) do
      <<x := pair(y,j);
      z := aeval subla(x,v);
      if null(!*nero and (z = 0)) then
      <<maprin list('setq,subla(x,v),z);="" if="" not="" !*nat="" then="" prin2!*="" "$";="" terpri!*="" t="">> else maprin " ">>
      end;</maprin>

      does the message disappear? If so I will commit the change so that it will be included in the next snapshot.
      Eberhard

      [bugs:#155] on nero problem

      Status: open
      Group:
      Created: Sun Sep 24, 2023 04:06 PM UTC by Daniel Volinski
      Last Updated: Sun Sep 24, 2023 04:06 PM UTC
      Owner: nobody
      Attachments:

      • Spherical.red (1.5 kB; application/octet-stream)

      Hi All,

      I'm using Reduce (CSL, rev 6547), 07-Mar2023, on Windows 10.
      If I use "on nero" in the attached file, I get "malformed-TeX-input" when all the components are zero.
      I think it should print nothing in the case all the components are zero, not "malformed-TeX-input".

      Daniel Volinski

      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/reduce-algebra/bugs/155/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #155

  • Rainer Schöpf

    Rainer Schöpf - 2023-11-05
    • status: open --> closed
    • assigned_to: Eberhard Schruefer
    • Group: -->
     
  • Rainer Schöpf

    Rainer Schöpf - 2023-11-05

    Bug fixed.

     

Log in to post a comment.