瀏覽代碼

fix calling fortran function

Samuel Thibault 9 年之前
父節點
當前提交
cef987ffeb
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      examples/native_fortran/nf_example.f90

+ 2 - 2
examples/native_fortran/nf_example.f90

@@ -165,8 +165,8 @@ PROGRAM f90_example
   WRITE(6,'(a)') " "
 
   !Deallocation
-  fstarpu_codelet_free(cl_loop_element)
-  fstarpu_codelet_free(cl_copy_element)
+  CALL fstarpu_codelet_free(cl_loop_element)
+  CALL fstarpu_codelet_free(cl_copy_element)
   DO i = 1,Nelt
      elt => mesh%elt(i)
      DEALLOCATE(elt%ro)