From e44bc5b6cad6e66d37e02ab6d420a659d682bf77 Mon Sep 17 00:00:00 2001 From: Sasikumar Date: Sun, 2 Apr 2023 00:26:28 +0530 Subject: [PATCH] Fix nif_not_loaded error when Series.ewm_mean/2 is called from query (#557) --- native/explorer/src/expressions.rs | 2 +- native/explorer/src/lib.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/native/explorer/src/expressions.rs b/native/explorer/src/expressions.rs index 60aed1894..5bc832a61 100644 --- a/native/explorer/src/expressions.rs +++ b/native/explorer/src/expressions.rs @@ -567,7 +567,7 @@ pub fn expr_cumulative_sum(data: ExExpr, reverse: bool) -> ExExpr { } #[rustler::nif] -pub fn ewm_mean( +pub fn expr_ewm_mean( data: ExExpr, alpha: f64, adjust: bool, diff --git a/native/explorer/src/lib.rs b/native/explorer/src/lib.rs index 91665b4c7..4b6f5da5f 100644 --- a/native/explorer/src/lib.rs +++ b/native/explorer/src/lib.rs @@ -203,6 +203,7 @@ rustler::init!( expr_window_mean, expr_window_min, expr_window_sum, + expr_ewm_mean, // inspect expressions expr_describe_filter_plan, // string expressions