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

delta should be matrix type #4

Open
lpfSTX opened this issue Oct 22, 2020 · 1 comment
Open

delta should be matrix type #4

lpfSTX opened this issue Oct 22, 2020 · 1 comment

Comments

@lpfSTX
Copy link

lpfSTX commented Oct 22, 2020

n = networkBFEalloc( s, N, delta)

if we add nsofar in networkBFEalloc function, there is a TypeError:
image

because delta is np.array type, which should be matrix type.

@lpfSTX
Copy link
Author

lpfSTX commented Oct 22, 2020

F[::K+1] += di2[:]

F[::K+1] += matrix(di2[:]) works well

image

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

1 participant