Skip to content

Commit

Permalink
make pixel values nonzero
Browse files Browse the repository at this point in the history
  • Loading branch information
anandpathak31 committed Jan 5, 2024
1 parent be287ba commit 1d58ea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blox/sources.jl
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ mutable struct ImageStimulus <: StimulusBlox
reset_eqs = Vector{Equation}(undef, N_pixels)
for i in Base.OneTo(N_pixels)
s = Symbol(param_name, "_", i)
ps[i] = only(@parameters $(s) = 0.0)
ps[i] = only(@parameters $(s) = S[i,1])
reset_eqs[i] = ps[i] ~ 0.0
end

Expand Down

0 comments on commit 1d58ea2

Please sign in to comment.