Changeset 008215 in git


Ignore:
Timestamp:
Aug 19, 2022, 11:31:03 AM (21 months ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
020575b408baddf459bbf4b2c233904f198de039
Parents:
658a2a6ece0eabe6c77c1b26617f3cfb4b48b269
Message:
simplify blackbox_op
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/iparith.cc

    r658a2a r008215  
    89328932      if (bb!=NULL)
    89338933      {
    8934         if (!bb->blackbox_Op2(op,res,a,b)) return FALSE;
    8935         //else: no op defined, try the default
     8934        return bb->blackbox_Op2(op,res,a,b);
    89368935      }
    89378936      else
     
    91299128      if (bb!=NULL)
    91309129      {
    9131         if(!bb->blackbox_Op1(op,res,a)) return FALSE;
    9132         // else: no op defined
     9130        return bb->blackbox_Op1(op,res,a);
    91339131      }
    91349132      else
     
    93329330      if (bb!=NULL)
    93339331      {
    9334         if(!bb->blackbox_Op3(op,res,a,b,c)) return FALSE;
    9335         // else: no op defined
     9332        return bb->blackbox_Op3(op,res,a,b,c);
    93369333      }
    93379334      else
     
    94449441      if (bb!=NULL)
    94459442      {
    9446         if(!bb->blackbox_OpM(op,res,a)) return FALSE;
    9447         // else: no op defined
     9443        return bb->blackbox_OpM(op,res,a);
    94489444      }
    94499445      else
Note: See TracChangeset for help on using the changeset viewer.