Pierre-Yves Barriat 3 年之前
父节点
当前提交
53dae0cfb7
共有 2 个文件被更改,包括 2 次插入3 次删除
  1. 1 2
      src/02_sphere.f
  2. 1 1
      src/04_namelist.f90

+ 1 - 2
src/02_sphere.f

@@ -6,8 +6,7 @@
       WRITE(*,*) 'Enter the value for the radius of a sphere.'
       READ(*,*) radius
  
-ccccc PI & radius values
-      radius =
+ccccc PI value
       pi =
 ccccc PI value
       WRITE(*,*) 'The value of pi is ', pi

+ 1 - 1
src/04_namelist.f90

@@ -10,7 +10,7 @@ PROGRAM test_namelist
   write(*,*) 'Before:'
   call print_res(lon_min, lon_max, lat_min, lat_max)
 
-  open(161,file='07_namelist.def',status='old',form='formatted')
+  open(161,file='04_namelist.def',status='old',form='formatted')
   read(161,NML=namlon)
 
   write(*,*) 'Between:'