COIN-OR::LEMON - Graph Library

Changeset 77:ba023627ff1a in glemon-0.x


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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mapstorage.cc

    r67 r77  
    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.