From 278f75ac69da0db0ecbb5b00ec7b5e80dd24f4da Mon Sep 17 00:00:00 2001
From: Marco Matthies <71844+marcom@users.noreply.github.com>
Date: Mon, 19 Aug 2024 04:27:54 +0200
Subject: [PATCH] Fix call to FarmPlot constructor in tests

---
 test/nature_tests.jl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/nature_tests.jl b/test/nature_tests.jl
index c78b727..b0d7e3c 100644
--- a/test/nature_tests.jl
+++ b/test/nature_tests.jl
@@ -49,10 +49,10 @@ end) # end eval
     model = inittestmodel()
     model.landscape[6,6] = Pixel(Ps.agriculture, 1, [], [], [])
     fp = Ps.FarmPlot(
-        1, [(6,6)],
+        1, [(6,6)], 1,
         Ps.ALMaSS.CropState(
             model.crops["winter wheat"], Ps.ALMaSS.janfirst,
-            0.0, 0.0m, 0.0, 0.0, Vector{Ps.Management}()
+            0.0, 0.0m, 0.0, 0.0, false, Vector{Ps.Management}()
         )
     )
     push!(model.farmplots, fp)
-- 
GitLab