Skip to content
Snippets Groups Projects
Commit aa54284f authored by sven.panne@aedion.de's avatar sven.panne@aedion.de
Browse files

[project @ 2000-06-12 21:40:05 by panne]

printf => showFFloat. Now waugh_neural fails with
   Fail: Prelude.(!!): negative index,
but that's better than before.  :-)
parent e1d2ed09
No related merge requests found
......@@ -7,8 +7,7 @@ backpropagation functions and values.
> import BpGen
> import ReadLists (readWhiteList)
> import {-fool mkdependHS-}
> Printf
> import Numeric(showFFloat)
-------------------------------------------------------------------------------
| Constant Values |
......@@ -79,7 +78,7 @@ The following constants set the training problem and parameters:
-------------------------------------------------------------------------------
> showdouble :: Double -> ShowS
> showdouble v = showString (printf "%6.4f " [UDouble v])
> showdouble = showFFloat (Just 4)
> showdoubles :: [Double] -> ShowS
> showdoubles [] = showString ""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment