Skip to content

Commit 7abccb8

Browse files
committed
update ci
1 parent 3b0c831 commit 7abccb8

File tree

5 files changed

+8
-20
lines changed

5 files changed

+8
-20
lines changed

.github/workflows/CI.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: CI-SLimOptim
22

3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
37
on:
48
# Trigger the workflow on push to master or pull request
59
# to be merged in master
@@ -30,7 +34,7 @@ jobs:
3034

3135
steps:
3236
- name: Checkout SlimOptim
33-
uses: actions/checkout@v2
37+
uses: actions/checkout@v3
3438

3539
- name: Setup julia
3640
uses: julia-actions/setup-julia@v1

.github/workflows/cancel.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
build:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v3
1414

1515
- uses: julia-actions/setup-julia@latest
1616

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "SlimOptim"
22
uuid = "e4c7bc62-5b23-4522-a1b9-71c2be45f1df"
33
authors = ["Mathias Louboutin <mathias.louboutin@gmail.com>"]
4-
version = "0.2.0"
4+
version = "0.2.1"
55

66
[deps]
77
LineSearches = "d3d80556-e9d4-5f37-9878-2ab0fcc64255"

src/SPGSlim.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ function _spg(obj::Function, grad!::Function, objgrad!::Function, projection::Fu
164164
x_best = x
165165

166166
# Line search function
167-
isnothing(ls) && (ls = BackTracking{T}(order=3, iterations=options.maxLinesearchIter))
167+
isnothing(ls) && (ls = BackTracking{T}(order=3, iterations=options.maxLinesearchIter, c_1=options.suffDec))
168168
checkls(ls)
169169

170170
# Evaluate Initial Point and objective function

0 commit comments

Comments
 (0)