From 7ca79058277e7bd514b6508aec813f77198e49ab Mon Sep 17 00:00:00 2001
From: Johan Gronqvist <johan.gronqvist@control.lth.se>
Date: Fri, 11 Aug 2023 17:34:49 +0200
Subject: [PATCH] Define variable earlier

---
 PerfMeasure.jl | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/PerfMeasure.jl b/PerfMeasure.jl
index 8b7aec0..5a32c86 100644
--- a/PerfMeasure.jl
+++ b/PerfMeasure.jl
@@ -24,6 +24,9 @@ using LinearAlgebra
 using Plots
 using ProgressMeter
 
+# %%
+ϵ = 1e-4
+
 # %%
 function validate(;ζ, ω=1, fixed_P = nothing, ret_P = false)
 
@@ -71,9 +74,6 @@ validate(ζ=.2)
 αs = [validate(ζ=ζ) for ζ in ζs ]
 plot(ζs, αs, label = "", xaxis = "ζ", yaxis = "α")
 
-# %%
-ϵ = 1e-4
-
 # %%
 P = validate(ζ=.1, ret_P=true)
 
-- 
GitLab