now this is weird
brian <briand-/[email protected]> Sun, 12 Oct 2008 23:01:45 -0700
| Newsgroups | gmane.comp.lang.sml.smlnj |
|---|---|
| Message-ID | <[email protected]> |
changing my code from :
print ("i="^Int.toString(i)^"\n");
Writers.binXWriter("data/sync_"^Int.toString(i)^"_mag.bin", fft);
Writers.binYWriter("data/sync_"^Int.toString(i)^"_phase.bin", fft);
to :
Writers.binXWriter("data/sync_"^Int.toString(i)^"_mag.bin", fft);
Writers.binYWriter("data/sync_"^Int.toString(i)^"_phase.bin", fft);
makes the program go from "works fine", to:
uncaught exception Io [Io: openOut failed on "data/sync_52_mag.bin",
Invalid argument]
raised at: Basis/Implementation/IO/bin-io-fn.sml:620.25-620.72
-
That's right, I just remove the print statement.
WTF ?
That's just gotta be a bug in the compiler.
Brian
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/