NEB hasmiddle bug fix

This commit is contained in:
Daniel Mejia-Rodriguez 2024-01-16 20:34:58 -08:00 committed by edoapra
parent 8bfd0073a6
commit 2ac8df2b89
No known key found for this signature in database
GPG key ID: 9E6A0B70826967BA

View file

@ -868,10 +868,11 @@ c
if (.not.geom_rtdb_load(rtdb,geom,'midgeom')) then
hasmiddle = .false.
end if
else
if (.not.geom_cart_coords_get(geom,dbl_mb(rmid(1))))
> call errquit('neb_initial_path failed',2,0)
end if
endif
endif
if (hasmiddle) then
if (.not.geom_cart_coords_get(geom,dbl_mb(rmid(1))))
> call errquit('neb_initial_path failed',2,0)
end if
if (oprint) then