/[escript]/trunk/escriptcore/src/ArrayOps.h
ViewVC logotype

Diff of /trunk/escriptcore/src/ArrayOps.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 6514 by jfenwick, Wed Nov 2 02:31:11 2016 UTC revision 6515 by jfenwick, Mon Mar 6 01:54:53 2017 UTC
# Line 707  inline void tensor_unary_array_operation Line 707  inline void tensor_unary_array_operation
707            }            }
708            break;            break;
709       default:       default:
710            throw DataException("Unsupported unary operation");              std::ostringstream oss;
711              oss << "Unsupported unary operation=";
712          oss << opToString(operation);
713          oss << '/';
714          oss << operation;
715          oss << " (Was expecting an operation with real results)";
716              throw DataException(oss.str());      
717     }       }  
718  }  }
719    
# Line 881  inline void tensor_unary_array_operation Line 887  inline void tensor_unary_array_operation
887        break;              break;      
888                
889      default:      default:
890        std::string s="Unsupported unary operation ";        std::ostringstream oss;
891        s+=operation;        oss << "Unsupported unary operation=";
892        throw DataException(s);        oss << opToString(operation);
893          oss << '/';
894          oss << operation;
895          throw DataException(oss.str());
896    }    }
897    return;    return;
898  }  }

Legend:
Removed from v.6514  
changed lines
  Added in v.6515

  ViewVC Help
Powered by ViewVC 1.1.26