mirror of
https://github.com/ruvnet/RuVector.git
synced 2026-05-23 21:25:02 +00:00
MultiHeadAttention::new() and RuvectorLayer::new() used assert!() for input validation which caused fatal abort() when called from NAPI-RS/WASM bindings — unrecoverable by JavaScript callers. Both now return Result<Self, GnnError>, and all WASM/NAPI wrappers propagate errors as catchable JS exceptions. Also fixes pre-existing mmap.rs test compilation error (grad_offset returns Option<usize>, not usize). Closes #216 Co-Authored-By: claude-flow <ruv@ruv.net> |
||
|---|---|---|
| .. | ||
| cli_tests.rs | ||
| gnn_performance_test.rs | ||
| hooks_tests.rs | ||
| mcp_tests.rs | ||