$NetBSD: patch-ag,v 1.4 2007/09/02 11:03:03 joerg Exp $

--- speech_tools/stats/confusion.cc.orig	2007-09-02 09:59:39.000000000 +0000
+++ speech_tools/stats/confusion.cc
@@ -138,7 +138,11 @@ void print_confusion(const EST_FMatrix &
 	cout.precision(3);
 	cout.setf(ios::right);
 //	cout.setf(ios::fixed, ios::floatfield);
+#ifdef isnan
+	if (isnan(correct(i)))
+#else
 	if (isnanf(correct(i)))
+#endif
 	    cout << endl;
 	else
 	    cout << correct(i) << endl;
