Skip to content

Commit 318449e

Browse files
committed
Merge remote-tracking branch 'origin/master'
# Conflicts: # examples/logic_gates/test_all.php
2 parents 18a9742 + 34f60ec commit 318449e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

examples/logic_gates/test_all.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,13 @@
33
function test($net, $test_data) {
44
$train_file = (dirname(__FILE__) . '/' . $net . '_float.net');
55
if (!is_file($train_file)) {
6+
<<<<<<< HEAD:examples/logic_gates/test_all.php
67
print('The file ' . $net . '_float.net has not been created! Please run train_all.php to generate it.<br>' . PHP_EOL);
78
} else {
9+
=======
10+
print('The file ' . $net . '_float.net has not been created! Please run <a href="train_all.php">train_all.php</a> to generate it.<br>' . PHP_EOL);
11+
} else{
12+
>>>>>>> origin/master:examples/test_all.php
813
$ann = fann_create_from_file($train_file);
914
if ($ann) {
1015
$calc_out = fann_run($ann, $test_data);
@@ -45,4 +50,4 @@ function test($net, $test_data) {
4550
test('xnor', array(-1, -1));
4651
test('xor', array(-1, 1));
4752

48-
?>
53+
?>

0 commit comments

Comments
 (0)