diff options
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) |