From 3b5998af1210afc40c87629ab77917962591370b Mon Sep 17 00:00:00 2001 From: gingerBill Date: Thu, 8 Sep 2022 14:48:37 +0100 Subject: [PATCH] Fix typo for `pow` in `runtime.js` --- vendor/wasm/js/runtime.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/wasm/js/runtime.js b/vendor/wasm/js/runtime.js index 60d114506..7f0ede146 100644 --- a/vendor/wasm/js/runtime.js +++ b/vendor/wasm/js/runtime.js @@ -1340,7 +1340,7 @@ function odinSetupDefaultImports(wasmMemoryInterface, consoleElement) { sqrt: (x) => Math.sqrt(x), sin: (x) => Math.sin(x), cos: (x) => Math.cos(x), - pow: (x) => Math.pow(x), + pow: (x, power) => Math.pow(x, power), fmuladd: (x, y, z) => x*y + z, ln: (x) => Math.log(x), exp: (x) => Math.exp(x),