Skip to content

Commit

Permalink
fix: fix NVAR init bug
Browse files Browse the repository at this point in the history
  • Loading branch information
chaoming0625 committed Mar 27, 2022
1 parent 7bd4ef0 commit 70f9e8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion brainpy/nn/nodes/RC/nvar.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def init_state(self, num_batch=1):
if self.store is None:
self.store = bm.Variable(state)
else:
self.store._value = state
self.store._value = state.value

def forward(self, ff, fb=None, **shared_kwargs):
all_parts = []
Expand Down

0 comments on commit 70f9e8b

Please sign in to comment.