Skip to content

tf should copy its arguments; instead they are mutated #112

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

Closed
roryyorke opened this issue Sep 8, 2016 · 1 comment
Closed

tf should copy its arguments; instead they are mutated #112

roryyorke opened this issue Sep 8, 2016 · 1 comment
Assignees

Comments

@roryyorke
Copy link
Contributor

import numpy as np
import control

num = [[[1]]]
den = [[[1,1]]]

print('num before',num)
g = control.tf(num,den)
print('num after',num)

outputs

num before [[[1]]]
num after [[array([1])]]

expect num to be unchanged.

@murrayrm
Copy link
Member

Fixed in PR #135.

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

No branches or pull requests

3 participants