From b056ce410b82a56544997131cfb6dbb5ecb30cca Mon Sep 17 00:00:00 2001 From: Dylan Asmar Date: Tue, 19 Dec 2023 12:32:01 -0700 Subject: [PATCH 1/3] ci update to include lts julia version --- .github/workflows/CI.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index bb1bde5..eeaec46 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -5,11 +5,6 @@ on: - main tags: '*' pull_request: -concurrency: - # Skip intermediate builds: always. - # Cancel intermediate builds: only if it is a pull request build. - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} jobs: test: name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} @@ -19,6 +14,7 @@ jobs: matrix: version: - "1" + - "1.6" # minimum supported version os: - ubuntu-latest - macOS-latest @@ -26,7 +22,7 @@ jobs: arch: - x64 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@v1 with: version: ${{ matrix.version }} From e183d8d8a071912fa0744ef55fe1669c50aa502a Mon Sep 17 00:00:00 2001 From: Dylan Asmar Date: Tue, 19 Dec 2023 12:35:48 -0700 Subject: [PATCH 2/3] remoeved redundant using statement --- docs/make.jl | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docs/make.jl b/docs/make.jl index d659403..f02740c 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -1,7 +1,3 @@ -using Documenter - -push!(LOAD_PATH, "../src/") - using Documenter, TagPOMDPProblem, POMDPTools makedocs( From b7a556c145955ffc1fc16b1bc1cc584374c3eb1b Mon Sep 17 00:00:00 2001 From: Dylan Asmar Date: Tue, 19 Dec 2023 13:25:05 -0700 Subject: [PATCH 3/3] Updated to | vs || for 1.6 support based on .|| not defined for 1.6 and requires .(||) --- src/transition.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/transition.jl b/src/transition.jl index 40820b0..6016e76 100644 --- a/src/transition.jl +++ b/src/transition.jl @@ -108,8 +108,8 @@ function orig_transition(pomdp::TagPOMDP, s::TagState, a::Int) t_move_dirs = [get_prop(pomdp.mg, s.t_pos, t_pos′, :action) for t_pos′ in t_move_pos_options] # Isolate ns and ew moves - ns_moves = t_move_pos_options[(t_move_dirs .== :north) .|| (t_move_dirs .== :south)] - ew_moves = t_move_pos_options[(t_move_dirs .== :east) .|| (t_move_dirs .== :west)] + ns_moves = t_move_pos_options[(t_move_dirs .== :north) .| (t_move_dirs .== :south)] + ew_moves = t_move_pos_options[(t_move_dirs .== :east) .| (t_move_dirs .== :west)] robot_map_coord = get_prop(pomdp.mg, :node_pos_mapping)[s.r_pos]