Talk:Selling Icecreams

From Artificial Neural Network for PHP
Revision as of 21:49, 23 December 2008 by Thwien (talk | contribs) (New section: Handling output values)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
... foreach($arrOutputs as $floatOutput)
      print $objIcecream->getRealOutputValue($floatOutput) ...

Should be


... foreach($arrOutputs as $floatOutput)
      print $objIcecream->getRealOutputValue($floatOutput[0] ...

As $floatOutput is an Array

Handling output values

Yes, that example code was wrong. I changed the lines to the correct code. Thanks a lot for your comment.