Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Pierre Lairez
numperiods
Commits
404ad3e9
Commit
404ad3e9
authored
Mar 02, 2019
by
Pierre Lairez
Browse files
Fix some issues with FailFast
parent
9a02098e
Changes
1
Hide whitespace changes
Inline
Side-by-side
numperiods/family.py
View file @
404ad3e9
...
...
@@ -33,7 +33,7 @@ from . import integer_relations
from
.
import
config
from
.
import
FailFast
logger
=
logging
.
getLogger
(
'numperiods.family'
)
logger
=
logging
.
getLogger
(
__name__
)
class
Family
:
...
...
@@ -189,7 +189,7 @@ class Family:
k
=
0
while
True
:
k
=
k
+
1
if
k
>
config
.
max_dimension_of_a_cyclic_space
:
if
config
.
fail_fast
and
k
>
config
.
max_dimension_of_a_cyclic_space
:
logger
.
info
(
"Skipping this cyclic space, dimension %d too high."
%
k
)
raise
FailFast
()
...
...
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