Description
Hey everybody :) I was trying to test matrix*vector in aljabar crate by
running "cargo test" on:
extern crate aljabar;
use aljabar::{matrix, vector};
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn identity() {
let pixel = vector![0,255,255,15];
let kernel = matrix![
[0,0,0],
[0,1,0],
[0,0,0]];
assert_eq!(pixel*kernel, pixel);
}
}
and got this:
error: internal compiler error: src/librustc_metadata/decoder.rs:483: entry: id not found: DefIndex(86) in crate aljabar with number 15
thread 'rustc' panicked at 'Box', src/librustc_errors/lib.rs:644:9
note: run withRUST_BACKTRACE=1
environment variable to display a backtrace.
error: aborting due to previous errornote: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: rustc 1.38.0-nightly (60960a2 2019-08-12) running on x86_64-apple-darwin
note: compiler flags: -C debuginfo=2 -C incremental
note: some of the compiler flags provided by cargo are hidden
error: Could not compile
KernelFiltering
.
Not sure if it's a known issue or not but if there's anything else you need from me please let me know :)