Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

r.accumulate: Fix a segfault error by assigning a default value to accum_type #1077

Merged
merged 1 commit into from
May 14, 2024

Conversation

HuidaeCho
Copy link
Member

This PR fixes #1076 by using CELL as the default value for the accumulation type. It'll be promoted to FCELL or DCELL automatically when needed.

@HuidaeCho HuidaeCho self-assigned this May 14, 2024
@HuidaeCho HuidaeCho added the bug Something isn't working label May 14, 2024
@HuidaeCho HuidaeCho merged commit 8135b8a into OSGeo:grass8 May 14, 2024
7 checks passed
@HuidaeCho HuidaeCho deleted the r_accumulate_accum_type_segfault branch May 14, 2024 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] r.accumulate segfaults without specifying accumulation_type
2 participants