fix: stabilize localization comparison semantics

This commit is contained in:
2026-08-28 20:57:13 +09:00
parent 9b9244be85
commit e8dac792d9
10 changed files with 340 additions and 31 deletions
+3
View File
@@ -90,6 +90,9 @@ export async function computeLocalizationWithBackend(options, dependencies = {})
if (isDasAlgorithm(algorithm.id)) {
return computeDasBackend(options, dependencies);
}
if (algorithm.id !== "gcc-phat") {
throw new RangeError("No backend dispatcher is registered for " + algorithm.id + ".");
}
const requestedBackend = options?.experiment?.beamforming?.backend ?? "auto";
if (requestedBackend === "webgpu") {