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

reward_function_config.py, transistion_operator_config.py #210

Merged
merged 1 commit into from
Aug 16, 2023
Merged

Conversation

nforsg
Copy link
Contributor

@nforsg nforsg commented Aug 16, 2023

Ändrade till NDArray, lade till tpye(NDArray[Any]) i isinstance för att bli av med följande error-msg:
"Parameterized generics cannot be used with class or instance checks"

Dock så klagar mypy alltid på att man denna isinsnstance aldrig kommer att bli True, dvs att tensor = self.transition_tensor.tolist() blir unreachable. Det är det enda error som kvartår på dessa

@Limmen Limmen merged commit a55e0c0 into master Aug 16, 2023
0 of 38 checks passed
@Limmen Limmen deleted the dev6 branch August 16, 2023 16:22
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.

2 participants