diff options
author | Thomas White <taw@physics.org> | 2010-03-16 13:53:44 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2010-03-16 13:53:44 +0100 |
commit | 99e6385361a836df2dbb8fa6c340e4e963ba3da4 (patch) | |
tree | a98808d4807206586f9ac3d3cb0e5c78f852aebc /src/cell.c | |
parent | 589618b385568caa5ab862ce129261676a854422 (diff) |
Fixes for standards compliance
Diffstat (limited to 'src/cell.c')
-rw-r--r-- | src/cell.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |