Skip to content
This repository has been archived by the owner on Mar 29, 2023. It is now read-only.

Prevent result from being an undefined variable #4

Merged
1 commit merged into from
Dec 19, 2022

Conversation

dagardner-nv
Copy link

Raises a ValueError when x isn't one of the unexpected types.

Avoids an UnboundLocalError: local variable 'result' referenced before assignment error

Not sure if this is specific to our fork or if it should be contributed upstream.

@dagardner-nv dagardner-nv requested a review from a team December 1, 2022 20:42
@mdemoret-nv mdemoret-nv added the bug Something isn't working label Dec 5, 2022
@mdemoret-nv mdemoret-nv added the non-breaking Non-breaking change label Dec 19, 2022
@mdemoret-nv
Copy link

@gpucibot merge

@ghost ghost merged commit 79fd108 into nv-morpheus:branch-23.01 Dec 19, 2022
dagardner-nv pushed a commit that referenced this pull request Jan 31, 2023
Clean up print of dimension in build_model
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants