COIN-OR::LEMON - Graph Library

Changeset 1686:a5b8e0fde2be in lemon-0.x


Ignore:
Timestamp:
09/16/05 11:01:20 (14 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2208
Message:

Using std:: prefix for the functions in the c* headers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gui/mapstorage.cc

    r1649 r1686  
    11#include "mapstorage.h"
    22#include <gtkmm.h>
     3#include <cmath>
     4
    35#include <cmath>
    46
     
    209211    for (NodeIt n(graph); n != INVALID; ++n)
    210212    {
    211       nodemap_storage["coordinates_x"]->set(n, 250.0 * cos(i * step));
    212       nodemap_storage["coordinates_y"]->set(n, 250.0 * sin(i * step));
     213      nodemap_storage["coordinates_x"]->set(n, 250.0 * std::cos(i * step));
     214      nodemap_storage["coordinates_y"]->set(n, 250.0 * std::sin(i * step));
    213215      i++;
    214216    }
Note: See TracChangeset for help on using the changeset viewer.