Skip to content

Commit ec56d76

Browse files
authored
Fix warnings (#214)
- [x] Fix all JETLS warnings. - [x] Fix: In the omega != 0 path, va_distribution is filled using indices 1:wing.n_panels for each wing, which overwrites the same leading rows and leaves the remaining panels (and any additional wings) unset. This will produce incorrect per-panel inflow for multi-wing bodies and even for the second wing in the vector. - [x] Fix: set_va! with omega on multi-wing body - [x] Remove unused argument `reference_point` from `solve_base!` - [x] Modify `test/test_setup.sh` to instantiate the environment - [x] Use a workspace with the sub-projects examples, docs and test
1 parent f9addf1 commit ec56d76

35 files changed

Lines changed: 842 additions & 737 deletions

.JETLSConfig.toml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,17 @@ formatter = "JuliaFormatter"
44
auto_instantiate = false # boolean, default: true
55

66
[diagnostic]
7-
all_files = false # boolean, default: true
7+
all_files = false # boolean, default: true
8+
9+
[[diagnostic.patterns]]
10+
pattern = "no matching method found `copy!\\(::Random\\.TaskLocalRNG, ::Nothing\\)`"
11+
match_by = "message"
12+
match_type = "regex"
13+
severity = "off"
14+
15+
[[diagnostic.patterns]]
16+
pattern = "IncorrectCallArgs"
17+
match_by = "code"
18+
match_type = "literal"
19+
severity = "off"
20+
path = "src/solver.jl"

.github/workflows/CI.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
coverage: false
6464
test-with-code-coverage:
6565
name: Julia ${{ matrix.julia_version }} - ${{ matrix.os }} - ${{ matrix.julia_arch }} - with code coverage
66-
timeout-minutes: 20
66+
timeout-minutes: 30
6767
strategy:
6868
fail-fast: false
6969
matrix:
@@ -104,7 +104,7 @@ jobs:
104104
docs:
105105
name: Documentation
106106
runs-on: ubuntu-latest
107-
timeout-minutes: 40
107+
timeout-minutes: 15
108108
steps:
109109
- uses: actions/checkout@v6
110110
- uses: julia-actions/setup-julia@v2

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@ hooks
3131
.vscode/
3232
.vscode
3333
.idea
34+
Manifest-v1.11.toml.default

0 commit comments

Comments
 (0)