Skip to content

Add error returns to average area functions, etc#550

Merged
isaacbrodsky merged 10 commits into
uber:masterfrom
isaacbrodsky:error-returns-last
Jan 3, 2022
Merged

Add error returns to average area functions, etc#550
isaacbrodsky merged 10 commits into
uber:masterfrom
isaacbrodsky:error-returns-last

Conversation

@isaacbrodsky

Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread src/h3lib/include/h3api.h.in Outdated
Comment thread src/h3lib/lib/latLng.c
}

double H3_EXPORT(getHexagonAreaAvgM2)(int res) {
H3Error H3_EXPORT(getHexagonAreaAvgM2)(int res, double *out) {

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function - amongst possibly others - doesn't seem to have been renamed in the docs. We should check that functions have been renamed & all functions are listed in the docs with up to date signatures.

@coveralls

coveralls commented Dec 10, 2021

Copy link
Copy Markdown

Coverage Status

Coverage decreased (-0.03%) to 98.173% when pulling adc8145 on isaacbrodsky:error-returns-last into 017e9b4 on uber:master.

}

TEST(cell_area_invalid) {
H3Index invalid = 0xFFFFFFFFFFFFFFFF;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Maybe explain why you don't need a more comprehensive list of bad indexes (i.e. covered elsewhere)?

@isaacbrodsky
isaacbrodsky merged commit efad372 into uber:master Jan 3, 2022
@isaacbrodsky
isaacbrodsky deleted the error-returns-last branch January 3, 2022 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants