Skip to content

Commit

Permalink
Default to python code, but the C extension can be selected by using …
Browse files Browse the repository at this point in the history
…the 'OLS_C' algorithm.
  • Loading branch information
kmacdonald-stsci committed May 15, 2024
1 parent aee16b8 commit f135a39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/stcal/ramp_fitting/ols_fit.py
Original file line number Diff line number Diff line change
Expand Up @@ -661,9 +661,9 @@ def ols_ramp_fit_single(ramp_data, buffsize, save_opt, readnoise_2d, gain_2d, we
opt_info : tuple
The tuple of computed optional results arrays for fitting.
"""
use_c = False
# use_c = False
# use_c = True # XXX Change to default as False
# use_c = ramp_data.dbg_run_c_code
use_c = ramp_data.dbg_run_c_code
if use_c:
c_start = time.time()

Expand Down

0 comments on commit f135a39

Please sign in to comment.