fix(skm): accept floating-point population (JSON Struct inputs)
Some checks failed
CI / Linux x86_64 (Forgejo) (push) Has been cancelled
Some checks failed
CI / Linux x86_64 (Forgejo) (push) Has been cancelled
JSON inputs arriving via google.protobuf.Struct (the gRPC submit path, HubClient.submit jsonInputs) are always floating-point, so a u64 population field rejected `180000.0` with an INVALID_ARGUMENT. Make population f64 — a count is exact in f64 up to 2^53, the SKM product is f64 anyway, and Display still renders whole numbers without a decimal. Unblocks live skm scoring from the Recl∆Im app. Signed-off-by: flemming-it <sf@flemming.it>
This commit is contained in:
parent
e518a2cc2b
commit
80f6620d42
2 changed files with 7 additions and 2 deletions
BIN
module.wasm
BIN
module.wasm
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue