aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--zluda_dump/src/format.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/zluda_dump/src/format.rs b/zluda_dump/src/format.rs
index a24111a..99487f2 100644
--- a/zluda_dump/src/format.rs
+++ b/zluda_dump/src/format.rs
@@ -536,7 +536,7 @@ impl<T: CudaDisplay, const N: usize> CudaDisplay for [T; N] {
) -> std::io::Result<()> {
writer.write_all(b"[")?;
for i in 0..N {
- CudaDisplay::write(self, "", 0, writer)?;
+ CudaDisplay::write(&self[i], "", 0, writer)?;
if i != N - 1 {
writer.write_all(b", ")?;
}