Skip to content

Commit f0ef68c

Browse files
committed
changed to ubuntu-latest in build and release action
1 parent e6787af commit f0ef68c

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

.github/workflows/build_and_publish.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,17 @@ jobs:
2323
# strategy:
2424
# matrix:
2525
# platform:
26-
# - runner: ubuntu-lts-latest
26+
# - runner: ubuntu-latest
2727
# target: x86_64
28-
# - runner: ubuntu-lts-latest
28+
# - runner: ubuntu-latest
2929
# target: x86
30-
# - runner: ubuntu-lts-latest
30+
# - runner: ubuntu-latest
3131
# target: aarch64
32-
# - runner: ubuntu-lts-latest
32+
# - runner: ubuntu-latest
3333
# target: armv7
34-
# - runner: ubuntu-lts-latest
34+
# - runner: ubuntu-latest
3535
# target: s390x
36-
# - runner: ubuntu-lts-latest
36+
# - runner: ubuntu-latest
3737
# target: ppc64le
3838
# steps:
3939
# - uses: actions/checkout@v4
@@ -58,13 +58,13 @@ jobs:
5858
# strategy:
5959
# matrix:
6060
# platform:
61-
# - runner: ubuntu-lts-latest
61+
# - runner: ubuntu-latest
6262
# target: x86_64
63-
# - runner: ubuntu-lts-latest
63+
# - runner: ubuntu-latest
6464
# target: x86
65-
# - runner: ubuntu-lts-latest
65+
# - runner: ubuntu-latest
6666
# target: aarch64
67-
# - runner: ubuntu-lts-latest
67+
# - runner: ubuntu-latest
6868
# target: armv7
6969
# steps:
7070
# - uses: actions/checkout@v4
@@ -138,7 +138,7 @@ jobs:
138138
# path: dist
139139

140140
sdist:
141-
runs-on: ubuntu-lts-latest
141+
runs-on: ubuntu-latest
142142
steps:
143143
- uses: actions/checkout@v4
144144
- name: Build sdist
@@ -154,7 +154,7 @@ jobs:
154154

155155
release:
156156
name: Release
157-
runs-on: ubuntu-lts-latest
157+
runs-on: ubuntu-latest
158158
if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
159159
# needs: [linux, musllinux, windows, macos, sdist]
160160
needs: [windows, sdist]

src/simulator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ const CAP_BATCH_THRESHOLD: bool = true;
553553

554554
impl SimulatorMultiBatch {
555555
fn multibatch_step(&mut self, t_max: usize) -> () {
556-
let max_batch_threshold = self.n / 2; //TODO: FIX
556+
let max_batch_threshold = self.n / 4; //TODO: FIX
557557
if CAP_BATCH_THRESHOLD && self.batch_threshold > max_batch_threshold {
558558
self.batch_threshold = max_batch_threshold;
559559
}

0 commit comments

Comments
 (0)