Skip to content

Commit

Permalink
Fix Tao show lat -s parsing problem. (bmad-sim#1205)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidSagan authored Sep 24, 2024
1 parent 0228c0c commit bf940fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tao/code/tao_show_this.f90
Original file line number Diff line number Diff line change
Expand Up @@ -2917,7 +2917,7 @@ subroutine tao_show_this (what, result_id, lines, nl)

if (by_s) then
ix2 = index(attrib0, ':')
if (aname == '') then
if (ix2 == 0) then
nl=1; lines(1) = 'NO ":" FOUND FOR RANGE SELECTION'
return
endif
Expand Down Expand Up @@ -6385,7 +6385,7 @@ subroutine tao_show_this (what, result_id, lines, nl)

if (by_s) then
ix2 = index(attrib0, ':')
if (aname == '') then
if (ix2 == 0) then
nl=1; lines(nl) = 'NO ":" FOUND FOR RANGE SELECTION'
return
endif
Expand All @@ -6402,7 +6402,7 @@ subroutine tao_show_this (what, result_id, lines, nl)

elseif (attrib0 /= '') then
ix2 = index(attrib0, ':')
if (aname == '') then
if (ix2 == 0) then
nl=1; lines(nl) = 'NO ":" FOUND FOR RANGE SELECTION'
return
endif
Expand Down

0 comments on commit bf940fa

Please sign in to comment.