diff options
| author | Marius Peter <dev@marius-peter.com> | 2025-12-03 21:03:17 +0100 |
|---|---|---|
| committer | Marius Peter <dev@marius-peter.com> | 2025-12-03 21:03:17 +0100 |
| commit | 68d6f58c87b54a048fda2bd50c2fdb22ee4abdda (patch) | |
| tree | 6d53024da1835637a56d0dab437f66c96ea599be /models/crop-rotation.rkt | |
| parent | 48b3a00cf6313ea96b3557a88a79b12eeb06cdfe (diff) | |
Fix model modules.
Diffstat (limited to 'models/crop-rotation.rkt')
| -rw-r--r-- | models/crop-rotation.rkt | 1 |
1 files changed, 1 insertions, 0 deletions
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) |