diff --git a/src/metabase/fingerprinting/stl.clj b/src/metabase/fingerprinting/stl.clj
index 5900ddc2957803ee2e7302983345ae535e0c1992..e878587c2d0a812dd27844c20585175888268b74 100644
--- a/src/metabase/fingerprinting/stl.clj
+++ b/src/metabase/fingerprinting/stl.clj
@@ -30,9 +30,9 @@
                     ([] (.getConfig decomposer))
                     ([_]
                      (let [^StlResult decomposition (.decompose
-                                                     ^StlDecomposition decomposer
-                                                     xs
-                                                     (preprocess ys))]
+                                                     decomposer
+                                                     (double-array xs)
+                                                     (double-array (preprocess ys)))]
                        {:trend    (postprocess (.getTrend decomposition))
                         :seasonal (postprocess (.getSeasonal decomposition))
                         :residual (postprocess (.getRemainder decomposition))