summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorChristoph Groth <christoph.groth@cea.fr>2024-10-24 12:46:48 +0200
committerChristoph Groth <christoph.groth@cea.fr>2024-10-24 12:46:48 +0200
commit475f692ed8f9faea14577f9049ddfa3b8c40fd96 (patch)
tree51a3472f06c7d594a6c2ab6c71d96e6410acb2bc /src/main.rs
parentbf6dbef4ed28f3135eb48ed03ac31a7242f68340 (diff)
Show involved types
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 898142c..949dfb6 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -16,6 +16,10 @@ fn main() {
let mut c = grid![[0.0; 3]; 2];
+ dbg!(std::any::type_name_of_val(&a));
+ dbg!(std::any::type_name_of_val(&b));
+ dbg!(std::any::type_name_of_val(&c));
+
matmul(&a, &b, &mut c);
assert_eq!(c, expr![[4.0, 5.0, 6.0], [5.0, 7.0, 9.0]]);