Skip to content

Commit 2006ade

Browse files
committed
fix order of results / error in color classifier example
1 parent b66d725 commit 2006ade

File tree

1 file changed

+1
-1
lines changed
  • examples/NeuralNetwork-color-classifier

1 file changed

+1
-1
lines changed

examples/NeuralNetwork-color-classifier/sketch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ function draw() {
7373
}
7474

7575
// Step 9: define a function to handle the results of your classification
76-
function handleResults(error, results) {
76+
function handleResults(results, error) {
7777
if (error) {
7878
console.error(error);
7979
return;

0 commit comments

Comments
 (0)