瀏覽代碼

Fix small bug

klein 2 年之前
父節點
當前提交
8640369edb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      nemo_bdy/generate_new_bdy_dta.py

+ 1 - 1
nemo_bdy/generate_new_bdy_dta.py

@@ -88,7 +88,7 @@ ftypes['grid_V'] = { 'grid' : 'v', \
 grids = []
 
 for key in ftypes.keys():
-    curr_grid = ftypes[ftype]['grid']
+    curr_grid = ftypes[key]['grid']
     if(curr_grid not in grids):
         grids.append(curr_grid)