-
As per https://github.com/rust-ndarray/ndarray/issues/804 the usage is incorrect, potential UB there :cry:
Just proves the point, don't mess with unsafe even when it seems safe
-
Something I noticed last night was that the we need to rework the last argument of Pad to be a string match. in the issue where we got this pad function, they were padding with a constant value, and i…
-
stacktrace:
```
0: rust_begin_unwind
at /rustc/08095fc1f875c89e507f17cf6c6a780c8ffa4c01/library/std/src/panicking.rs:515:5
1: std::panicking::begin_panic_fmt
at /r…
yshui updated
2 years ago
-
## Description
I tried to load an image from a local directory. It only does two operations, read an image and decode it. After trying some examples, the operation `img.decode()` accounts for mos…
-
As discussed in https://github.com/PyO3/rust-numpy/pull/216#issuecomment-962460983, `PyArray::new` creates an uninitialized array and should therefore be marked `unsafe` as it is the callers responsib…
-
See the following three games:
https://aiarena.net/matches/518917/
https://aiarena.net/matches/516838/
https://aiarena.net/matches/514451/
Eris crashes but downloading the Error log provides n…
-
Hi thanks for the lib! However, Cargo bloaty reports only a tiny portion of the whole binary.
My `.so` file for android is about 10MB (not zipped, stripped). It contains some pure Rust code, especi…
-
I could not get the package to build using the latest versions of Rust and maturin.
Here is the build log:
Compiling autocfg v1.0.1
Compiling proc-macro2 v1.0.27
Compiling unicode…
-
### Problem
First, i install `openblas` and `lapack` by brew
> brew install openblas
> brew install lapack
--------------------
> when i use openblas-src with features `["cblas", "system"]`, i se…
-
Myself (and another user on the rust discord) have run into the need for the kronecker product of two matrices.
I currently have code like:
```rust
fn kron(a: &Array2, b: &Array2) -> Array2 {
…