Skip to content

Commit

Permalink
Merge 61e2656 into 2fedca1
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenm committed Feb 24, 2022
2 parents 2fedca1 + 61e2656 commit ce35f7d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
15 changes: 5 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
language: python

python:
- 3.5
- 3.6

# Python 3.7 requires dist: xenial and sudo: true
# (see https://github.com/travis-ci/travis-ci/issues/9815#issue-336465122)
matrix:
include:
- python: 3.7
dist: xenial
sudo: true
- "3.5"
- "3.6"
- "3.7"
- "3.8"
- "3.9"

cache:
directories:
Expand Down
4 changes: 2 additions & 2 deletions catch/pool/param_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -710,11 +710,11 @@ def higher_dimensional_search(param_names, probe_counts, max_total_count,
# Setup the loss function, parameter bounds, and make an initial guess
loss_fn = _make_loss_fn(probe_counts, max_total_count, loss_coeffs,
dataset_weights, interp_fn_type='nd')
x0 = _make_initial_guess(probe_counts, None, num_params)
bounds = _make_param_bounds_nd(probe_counts)
x0 = _make_initial_guess(probe_counts, bounds, num_params)

# Find the optimal parameter values, interpolating probe counts
# for parameter values between what have been explicitly calculated
bounds = _make_param_bounds_nd(probe_counts)
x_sol = _optimize_loss(probe_counts, loss_fn, bounds, x0,
interp_fn_type='nd')

Expand Down

0 comments on commit ce35f7d

Please sign in to comment.