Skip to content

Commit

Permalink
Update ci_install bazel version, removed duplicated code lines.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaeyoo committed Mar 16, 2023
1 parent e70e7af commit 1317edf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions scripts/ci_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
wget https://github.com/bazelbuild/bazel/releases/download/3.7.2/bazel_3.7.2-linux-x86_64.deb
sudo dpkg -i bazel_3.7.2-linux-x86_64.deb
wget https://github.com/bazelbuild/bazel/releases/download/5.1.0/bazel_5.1.0-linux-x86_64.deb
sudo dpkg -i bazel_5.1.0-linux-x86_64.deb
pip install --upgrade pip setuptools wheel
pip install -r requirements.txt
2 changes: 0 additions & 2 deletions tensorflow_quantum/python/optimizers/spsa_minimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,6 @@ def _spsa_once(state):
"objective_value": current_obj
})

return [SPSAOptimizerResults(**next_state_params)]

return [SPSAOptimizerResults(**next_state_params)]

# The `state` here is a `SPSAOptimizerResults` tuple with
Expand Down

0 comments on commit 1317edf

Please sign in to comment.