Changeset e43e4e
- Timestamp:
- 06/04/12 16:07:37 (12 months ago)
- Branches:
- master
- Children:
- fa8ca4
- Parents:
- 70a2ce
- git-author:
- Tiago de Paula Peixoto <tiago@…> (06/04/12 16:07:37)
- git-committer:
- Tiago de Paula Peixoto <tiago@…> (06/04/12 16:07:37)
- Location:
- src/graph
- Files:
-
- 2 edited
-
graph_properties.hh (modified) (3 diffs)
-
layout/graph_sfdp.hh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/graph/graph_properties.hh
r70a2ce re43e4e 212 212 const string& operator()(const std::type_info& type) const 213 213 { 214 string * name;214 string const* name; 215 215 mpl::for_each<TypeSequence> 216 216 (bind<void>(find_name(), _1, ref(type), … … 229 229 template <class Type> 230 230 void operator()(Type, const std::type_info& type, 231 vector<string>& all_names,232 string *& name) const231 const vector<string>& all_names, 232 string const*& name) const 233 233 { 234 234 size_t index = mpl::find<TypeSequence,Type>::type::pos::value; … … 250 250 251 251 const char** _type_names; 252 staticvector<string> _all_names;252 vector<string> _all_names; 253 253 }; 254 254 -
src/graph/layout/graph_sfdp.hh
r70a2ce re43e4e 129 129 double r = 0; 130 130 for (size_t i = 0; i < 2; ++i) 131 r += pow( p1[i] - p2[i], 2.);131 r += pow(double(p1[i] - p2[i]), 2.); 132 132 return sqrt(r); 133 133 }
Note: See TracChangeset
for help on using the changeset viewer.


