Skip to content

Commit

Permalink
Fix bug in diffusion test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vilin97 committed Aug 30, 2022
1 parent c95ef24 commit 23044f4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/spatial/diffusion.jl
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ for alg in algs
spatial_system = grids[1], save_positions = (false, false)))
push!(jump_problems,
JumpProblem(prob, alg, majumps, hopping_constants = hop_constants,
spatial_system = grids[3], save_positions = (false, false)))
spatial_system = grids[end], save_positions = (false, false)))
end

# hop rates of form L_{s,i,j}
Expand All @@ -96,7 +96,7 @@ for alg in algs
spatial_system = grids[1], save_positions = (false, false)))
push!(jump_problems,
JumpProblem(prob, alg, majumps, hopping_constants = hop_constants,
spatial_system = grids[3], save_positions = (false, false)))
spatial_system = grids[end], save_positions = (false, false)))
end

# hop rates of form D_s * L_{i,j}
Expand All @@ -113,7 +113,7 @@ for alg in algs
push!(jump_problems,
JumpProblem(prob, alg, majumps,
hopping_constants = Pair(species_hop_constants, site_hop_constants),
spatial_system = grids[3], save_positions = (false, false)))
spatial_system = grids[end], save_positions = (false, false)))
end

# hop rates of form D_{s,i} * L_{i,j}
Expand All @@ -130,7 +130,7 @@ for alg in algs
push!(jump_problems,
JumpProblem(prob, alg, majumps,
hopping_constants = Pair(species_hop_constants, site_hop_constants),
spatial_system = grids[3], save_positions = (false, false)))
spatial_system = grids[end], save_positions = (false, false)))
end

# testing
Expand Down

0 comments on commit 23044f4

Please sign in to comment.