fix: stabilize localization comparison semantics
This commit is contained in:
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user