質問編集履歴

2

エラーメッセージが一部誤っていたため修正

2021/01/07 08:18

投稿

marusa
marusa

スコア16

test CHANGED
File without changes
test CHANGED
@@ -66,7 +66,7 @@
66
66
 
67
67
  ```
68
68
 
69
- grid['points'][0] = np.append(grid['points'][0], points, axis = 0)
69
+ p['points'][0] = np.append(p['points'][0], points, axis = 0)
70
70
 
71
71
  ValueError: could not broadcast input array from shape (4,2) into shape (2,2)
72
72
 

1

コード内のdtype指定で誤っている場所があったため修正

2021/01/07 08:18

投稿

marusa
marusa

スコア16

test CHANGED
File without changes
test CHANGED
@@ -90,7 +90,7 @@
90
90
 
91
91
 
92
92
 
93
- p = np.zeros(1, dtype=GRID)
93
+ p = np.zeros(1, dtype=PLAIN)
94
94
 
95
95
 
96
96