diff --git a/src/touches.py b/src/touches.py index 1f97110..d6c534c 100644 --- a/src/touches.py +++ b/src/touches.py @@ -43,9 +43,9 @@ def create(): var = variables[v] if var.is_touched: out += var.toucher - var2 = variables[v] - if var2.dim != []: + if var.dim != []: finalize += " if (allocated(%s)) then\n"%v + finalize += " %s_is_built = .False.\n"%var.same_as finalize += " deallocate(%s)\n"%v finalize += " endif\n" finalize += "end\n" diff --git a/src/version.py b/src/version.py index 7a89884..91e96cd 100644 --- a/src/version.py +++ b/src/version.py @@ -1 +1 @@ -version = "1.1.73" +version = "1.1.74"