Browse Source

[nucleus] fix initial radius

Gaspard Jankowiak 11 months ago
parent
commit
85832bf4d1
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/Nucleus.jl

+ 1
- 1
src/Nucleus.jl View File

@@ -437,7 +437,7 @@ function min_center_to_wall(P::Params)
437 437
 
438 438
     @assert fprime(res.zero)[1] > 0
439 439
 
440
-    return dist(res.zero[1])
440
+    return min(dist(res.zero[1]), π/P.f_ω0)
441 441
 end
442 442
 
443 443
 function initialize_coords(P::Params, F::Flags, cortex_c::PointCoords; fill_wall::Bool=true)

Loading…
Cancel
Save