Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
OpenGEODE
Commits
bdbad150
Commit
bdbad150
authored
Jul 30, 2017
by
Maxime Perrotin
Browse files
Fix array range check
parent
60d6d9e1
Changes
3
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
bdbad150
...
...
@@ -141,6 +141,9 @@ The background pattern was downloaded from www.subtlepatterns.com
Changelog
=========
1.
5.40 (07/2017)
-
Fix range check in arrays
1.
5.39 (07/2017)
-
Minor fix in testcase Makefile
...
...
opengeode/ogParser.py
View file @
bdbad150
...
...
@@ -1651,7 +1651,7 @@ def primary_index(root, context):
if
not
is_integer
(
idx_bty
):
errors
.
append
(
error
(
root
,
'Index is not an integer'
))
else
:
if
float
(
idx_bty
.
Max
)
>
=
float
(
r_max
):
if
float
(
idx_bty
.
Max
)
>
float
(
r_max
):
errors
.
append
(
error
(
root
,
'Index range [{id1} .. {id2}] '
'outside of range [{r1} .. {r2}]'
...
...
opengeode/opengeode.py
View file @
bdbad150
...
...
@@ -139,7 +139,7 @@ except ImportError:
__all__
=
[
'opengeode'
,
'SDL_Scene'
,
'SDL_View'
,
'parse'
]
__version__
=
'1.5.
39
'
__version__
=
'1.5.
40
'
if
hasattr
(
sys
,
'frozen'
):
# Detect if we are running on Windows (py2exe-generated)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment