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

reconstruct BrainPy by merging brainpylib #351

Merged
merged 6 commits into from
Apr 5, 2023

Conversation

ztqakita
Copy link
Collaborator

@ztqakita ztqakita commented Apr 4, 2023

No description provided.

@chaoming0625
Copy link
Collaborator

There is a redundant file:

image

@ztqakita
Copy link
Collaborator Author

ztqakita commented Apr 4, 2023

oops.

@@ -153,8 +153,7 @@ def update(self, tdi, pre_spike=None):
post_vs = self._syn2post_with_one2one(syn_value, self.g_max)
else:
if self.comp_method == 'sparse':
bl = tools.import_brainpylib()
f = lambda s: bl.event_ops.event_csr_matvec(
f = lambda s: bm.event_ops.event_csr_matvec(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here, use bm.event_csr_matvec instead.

@chaoming0625 chaoming0625 merged commit d67e79b into brainpy:master Apr 5, 2023
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