Changeset 18490


Ignore:
Timestamp:
09/09/14 12:21:24 (11 years ago)
Author:
Mathieu Morlighem
Message:

CHG: better Echo for R2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/bamg/R2.h

    r15194 r18490  
    1919                          P2 (R a,R b)  :x(a),y(b)  {}
    2020                          P2 (P2 A,P2 B) : x(B.x-A.x),y(B.y-A.y) {}
    21                           void Echo(){
     21                          void Echo() const{
    2222                                  printf("Member of P2:\n");
    23                                   printf("   x: %g or %i\n",x,x);
    24                                   printf("   y: %g or %i\n",y,y);
     23                                  std::cout<<"   x: "<<x<<std::endl;
     24                                  std::cout<<"   y: "<<y<<std::endl;
    2525                          }
    2626                          //operators
Note: See TracChangeset for help on using the changeset viewer.