From 08586ce096cafc7836cf74a98d298235d8f42dea Mon Sep 17 00:00:00 2001 From: "M. Eric Carr" Date: Mon, 3 Oct 2022 22:36:16 -0400 Subject: [PATCH] Update neuralNetC.c Added missing %g to the printf() format string. Inputs now show both bits. --- neuralNetC.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neuralNetC.c b/neuralNetC.c index 43286e9..d80739c 100644 --- a/neuralNetC.c +++ b/neuralNetC.c @@ -105,7 +105,7 @@ int main (void) { } // Print the results from forward pass - printf ("Input:%g Output:%g Expected Output: %g\n", + printf ("Input:%g %g Output:%g Expected Output: %g\n", training_inputs[i][0], training_inputs[i][1], outputLayer[0], training_outputs[i][0]);