Skip to content

preceph: fix code_bias_ix system indexing#814

Open
ourairquality wants to merge 1 commit intortklibexplorer:mainfrom
ourairquality:code-bias-ix-sys
Open

preceph: fix code_bias_ix system indexing#814
ourairquality wants to merge 1 commit intortklibexplorer:mainfrom
ourairquality:code-bias-ix-sys

Conversation

@ourairquality
Copy link
Copy Markdown

Recent change defined the code_bias_ix array to be of length NSYS, but it is indexed with the result of sys2ix() which has a fixed allocation, so revert that in part, and also have sys2ix() return -1 for an unrecognised system and have the callers catch that too.

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.

1 participant