From 8beeb7d6bdc0e551862da0a0648ddd2000c33548 Mon Sep 17 00:00:00 2001 From: Dimitri Lozeve Date: Fri, 20 Oct 2023 18:30:18 +0200 Subject: [PATCH] Add trailing comma to shape string --- npy.bqn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npy.bqn b/npy.bqn index 3a15acb..7763026 100644 --- a/npy.bqn +++ b/npy.bqn @@ -11,7 +11,7 @@ ArrayFromBytes←{⟨8‿'c',DtypeToFormat 𝕨⟩•bit._cast 𝕩} # Saving To_i16le←{@+256(|∾⌊∘÷˜)𝕩} -FormatShape←{'('∾(1↓∾⥊','∾˘•Fmt¨≢𝕩)∾')'} +FormatShape←{'('∾(1↓∾⥊','∾˘•Fmt¨≢𝕩)∾",)"} BuildHeader←{dtype 𝕊 data: version←1‿0