Commit 3087d2e0 authored by Alvarez, Gonzalo's avatar Alvarez, Gonzalo
Browse files

Start: With CENTER == 1

parent ed1c7654
......@@ -88,6 +88,8 @@ public:
enum { DIRECTION_S};
static const SizeType CENTER = 1;
Star() {}
Star(SizeType linSize,InputType&)
......@@ -122,7 +124,7 @@ public:
bool connected(SizeType i1,SizeType i2) const
{
if (i1 == i2) return false;
return (i1 == 0 || i2 == 0);
return (i1 == CENTER || i2 == CENTER);
}
// assumes i1 and i2 are connected
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment