h3_algos.c [701:712]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - H3Error neighborResult = h3NeighborRotations( origin, NEXT_RING_DIRECTION, &rotations, &origin); if (neighborResult) { // Should not be possible because `origin` would have to be a // pentagon // TODO: Reachable via fuzzer return neighborResult; } if (H3_EXPORT(isPentagon)(origin)) { // Pentagon was encountered; bail out as user doesn't want this. return E_PENTAGON; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - h3_algos.c [809:819]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - H3Error neighborResult = h3NeighborRotations( origin, NEXT_RING_DIRECTION, &rotations, &origin); if (neighborResult) { // Should not be possible because `origin` would have to be a // pentagon // TODO: Reachable via fuzzer return neighborResult; } if (H3_EXPORT(isPentagon)(origin)) { return E_PENTAGON; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -