Skip to content

Commit b96139f

Browse files
committed
update test bernoulli cell and poisson cell
1 parent edc1803 commit b96139f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/components/input_encoders/test_bernoulliCell.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ def clamp(x):
4040
x_t = jnp.array([[x_seq[0,ts]]]) ## get data at time t
4141
clamp(x_t)
4242
advance_process.run(t=ts*1., dt=dt)
43-
outs.append(a.outputs.value)
43+
outs.append(a.outputs.get())
4444
outs = jnp.concatenate(outs, axis=1)
4545

4646
## output should equal input
4747
assert_array_equal(outs, x_seq)
4848
#print(outs)
4949

50-
#test_bernoulliCell1()
50+
test_bernoulliCell1()

tests/components/input_encoders/test_poissonCell.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ def clamp(x):
4343
## output should equal input
4444
assert_array_equal(outs, x_seq)
4545

46-
#test_poissonCell1()
46+
test_poissonCell1()

0 commit comments

Comments
 (0)