Skip to content

Commit 2d3d29b

Browse files
authored
Merge pull request #59 from forFudan/print
[lib] Remove extra line when print array
2 parents 87208df + bf15153 commit 2d3d29b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

numojo/core/ndarray.mojo

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1259,7 +1259,6 @@ struct NDArray[dtype: DType = DType.float32](
12591259
+ self.ndshape.__str__()
12601260
+ " DType: "
12611261
+ self.dtype.__str__()
1262-
+ "\n"
12631262
)
12641263
except e:
12651264
print("Cannot convert array to string", e)

0 commit comments

Comments
 (0)