Merge pull request #489 from paulromano/complex-cell-fix

Trivial fix for region specification
This commit is contained in:
Will Boyd 2015-10-30 07:03:37 -07:00
commit b583cdbd5a
2 changed files with 2 additions and 2 deletions

View file

@ -84,7 +84,7 @@ class Region(object):
i_start = -1
else:
# Check for invalid characters
if expression[i] not in '-0123456789':
if expression[i] not in '-+0123456789':
raise SyntaxError("Invalid character '{}' in expression"
.format(expression[i]))

View file

@ -136,7 +136,7 @@ contains
i_start = 0
else
! Check for invalid characters
if (index('-0123456789', string_(i:i)) == 0) then
if (index('-+0123456789', string_(i:i)) == 0) then
call fatal_error("Invalid character '" // string_(i:i) // "' in &
&region specification.")
end if