From ed4125bcb26f7e4c62bc20d7cc366b33b69f61c9 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Thu, 2 Apr 2026 14:06:41 -0700 Subject: [PATCH] Fix compilation difficulty. --- test/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/index.html b/test/index.html index 65f0cf4..1fe9c80 100644 --- a/test/index.html +++ b/test/index.html @@ -73,7 +73,7 @@ SPDX-License-Identifier: GPL-3.0-or-later async function run(size, difficulty, effort, api, isOutputShown, isDebug, isSelfCheck) { // Generate once on load to compile shaders and initialize buffers - await NanoPow.work_generate(random(), { api, difficulty: 0 }) + await NanoPow.work_generate(random(), { api, difficulty: '0' }) const type = api api = type.toLowerCase() if (isSelfCheck) { -- 2.47.3