Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tarot
tarot
Commits
5bc175e4
Commit
5bc175e4
authored
Nov 29, 2019
by
Vivien Kraus
Browse files
Do not print empty games
parent
df50c2d0
Pipeline
#191220
passed with stages
in 33 minutes and 2 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
src/tarot-app/tarot_perceptron_bootstrap.c
View file @
5bc175e4
...
...
@@ -462,10 +462,13 @@ self_learn (TarotPerceptron * perceptron)
free
(
data
);
}
if
(
--
until_print_game
==
0
)
{
if
(
!
is_empty_game
(
game
))
{
char
*
data
=
tarot_game_save_to_xml_alloc
(
game
);
fprintf
(
stderr
,
"%s
\n
"
,
data
);
free
(
data
);
}
until_print_game
=
100
;
}
tarot_game_free
(
game
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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