aboutsummaryrefslogtreecommitdiffstats
path: root/xspec
diff options
context:
space:
mode:
Diffstat (limited to 'xspec')
-rw-r--r--xspec/xspec_avg_tz.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/xspec/xspec_avg_tz.tcl b/xspec/xspec_avg_tz.tcl
index 8146747..8af8266 100644
--- a/xspec/xspec_avg_tz.tcl
+++ b/xspec/xspec_avg_tz.tcl
@@ -43,7 +43,7 @@ proc get_error {pn} {
global FLAG_CHI
set chisq [ tcloutr stat ]
set dof [ lindex [ tcloutr dof ] 0 ]
- if {[ expr {$chisq / $dof} ] > 2.0} {
+ if {[ expr {$chisq / $dof} ] >= 1.99} {
# reduced chisq too large; use sigma instead
set err [ tcloutr sigma $pn ]
set FLAG_CHI "TRUE"