COIN-OR::LEMON - Graph Library

Changeset 1936:0722ea2b0907 in lemon-0.x for lemon


Ignore:
Timestamp:
01/31/06 22:14:11 (14 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2511
Message:

Fix icc compilation failures.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/graph_to_eps.h

    r1930 r1936  
    838838      case MALE:
    839839        bb.add(-p+mycoords[n]);
    840         bb.add(xy<double>(1.5*ns,1.5*sqrt(3)*ns)+mycoords[n]);
     840        bb.add(xy<double>(1.5*ns,1.5*std::sqrt(3.0)*ns)+mycoords[n]);
    841841        break;
    842842      case FEMALE:
     
    10651065              if(isInsideNode((-(t1+t2)/2)*d,rn,node_shape)) t1=(t1+t2)/2;
    10661066              else t2=(t1+t2)/2;
    1067             double l=sqrt(d.normSquare());
     1067            double l=std::sqrt(d.normSquare());
    10681068            d/=l;
    10691069           
Note: See TracChangeset for help on using the changeset viewer.