From c709f0bb3cfee93ee48e1481cde265020bbe8207 Mon Sep 17 00:00:00 2001 From: Alessandro Pecchia Date: Thu, 30 May 2024 12:41:43 +0200 Subject: [PATCH] Fix undefined TempMin Max --- app/phonons/initphonons.F90 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/phonons/initphonons.F90 b/app/phonons/initphonons.F90 index 27daf4f54..369ea787b 100644 --- a/app/phonons/initphonons.F90 +++ b/app/phonons/initphonons.F90 @@ -1188,7 +1188,6 @@ subroutine readAnalysis(node, geo, pdos, tundos, transpar, atTemperature) endif !call readKPoints(node, geo, tBadKpoints) - call getChild(node, "Conductance", child, requested=.false.) if (associated(child)) then if (.not.tTransport) then @@ -1204,6 +1203,10 @@ subroutine readAnalysis(node, geo, pdos, tundos, transpar, atTemperature) TempMin = TempRange(1) TempMax = TempRange(2) + else + TempMin = 0.0_dp + TempMax = 0.0_dp + TempStep = 1.0_dp endif end subroutine readAnalysis