From 99e6385361a836df2dbb8fa6c340e4e963ba3da4 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 16 Mar 2010 13:53:44 +0100 Subject: Fixes for standards compliance --- src/cell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cell.c') diff --git a/src/cell.c b/src/cell.c index c564c3b5..5747ed63 100644 --- a/src/cell.c +++ b/src/cell.c @@ -401,7 +401,7 @@ UnitCell *match_cell(UnitCell *cell, UnitCell *template, int verbose) double angles[3]; struct cvec *cand[3]; UnitCell *new_cell = NULL; - float best_fom = +HUGE_VALF; + float best_fom = +999999999.9; /* Large number.. */ int ncand[3] = {0,0,0}; float ltl = 5.0; /* percent */ float angtol = deg2rad(5.0); -- cgit v1.2.3