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

linearsegment.from_compu_scale: factor value should be equal to 0 if only one numerator is specified #333

Conversation

nada-ben-ali
Copy link
Collaborator

The current implementation shows "IndexError: list index out of range" when the 'coeffs.numerators' list contains only one value, so, in this case, the factor should take the value 0.

@CLA-Mercedes-Benz
Copy link

CLA-Mercedes-Benz commented Aug 28, 2024

CLA assistant check
All committers have signed the CLA.

@andlaus
Copy link
Collaborator

andlaus commented Aug 28, 2024

thanks. I'm not completely sure if your input file is valid, but I'm happy with the patch :)

@andlaus andlaus merged commit 6e0c6f2 into mercedes-benz:main Aug 28, 2024
7 checks passed
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.

4 participants