Changeset 2386:81b47fc5c444 in lemon-0.x for lemon/hypercube_graph.h
- Timestamp:
- 03/02/07 19:04:28 (17 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3217
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/hypercube_graph.h
r2260 r2386 155 155 156 156 bool projection(Node node, int n) const { 157 return (bool)(node.id & (1 << n));157 return static_cast<bool>(node.id & (1 << n)); 158 158 } 159 159 … … 166 166 } 167 167 168 Node operator()(int i ndex) const {169 return Node(i ndex);168 Node operator()(int ix) const { 169 return Node(ix); 170 170 } 171 171 … … 237 237 /// 238 238 /// Gives back the node by its index. 239 Node operator()(int i ndex) const {240 return Parent::operator()(i ndex);239 Node operator()(int ix) const { 240 return Parent::operator()(ix); 241 241 } 242 242
Note: See TracChangeset
for help on using the changeset viewer.