From 68d6f58c87b54a048fda2bd50c2fdb22ee4abdda Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Wed, 3 Dec 2025 21:03:17 +0100 Subject: Fix model modules. --- models/crop-rotation.rkt | 1 + 1 file changed, 1 insertion(+) (limited to 'models/crop-rotation.rkt') diff --git a/models/crop-rotation.rkt b/models/crop-rotation.rkt index 1033b8e..37c242f 100644 --- a/models/crop-rotation.rkt +++ b/models/crop-rotation.rkt @@ -59,6 +59,7 @@ (define (residuals->requirement-proportion-hash residuals) (for/hash ([r (in-list residuals)]) (match-define (vector requirement-id proportion) r) + ;; TODO: Fix this N+1 query problem. (values (get-crop-requirement #:id requirement-id) proportion))) (define (grouped-row->crop-rotation grouped-row) -- cgit v1.2.3