summaryrefslogtreecommitdiffhomepage
path: root/tpl/math/init.go
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/math/init.go')
-rw-r--r--tpl/math/init.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/math/init.go b/tpl/math/init.go
index 4d8a23fde..32315d362 100644
--- a/tpl/math/init.go
+++ b/tpl/math/init.go
@@ -26,7 +26,7 @@ func init() {
ns := &internal.TemplateFuncsNamespace{
Name: name,
- Context: func(args ...interface{}) interface{} { return ctx },
+ Context: func(args ...interface{}) (interface{}, error) { return ctx, nil },
}
ns.AddMethodMapping(ctx.Add,