Skip to content

Commit 1317edf

Browse files
committed
Update ci_install bazel version, removed duplicated code lines.
1 parent e70e7af commit 1317edf

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

scripts/ci_install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
# ==============================================================================
16-
wget https://github.com/bazelbuild/bazel/releases/download/3.7.2/bazel_3.7.2-linux-x86_64.deb
17-
sudo dpkg -i bazel_3.7.2-linux-x86_64.deb
16+
wget https://github.com/bazelbuild/bazel/releases/download/5.1.0/bazel_5.1.0-linux-x86_64.deb
17+
sudo dpkg -i bazel_5.1.0-linux-x86_64.deb
1818
pip install --upgrade pip setuptools wheel
1919
pip install -r requirements.txt

tensorflow_quantum/python/optimizers/spsa_minimizer.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,6 @@ def _spsa_once(state):
263263
"objective_value": current_obj
264264
})
265265

266-
return [SPSAOptimizerResults(**next_state_params)]
267-
268266
return [SPSAOptimizerResults(**next_state_params)]
269267

270268
# The `state` here is a `SPSAOptimizerResults` tuple with

0 commit comments

Comments
 (0)