From 93fd1e7db8308f49b0fd11da3ae3cdfbd039c760 Mon Sep 17 00:00:00 2001 From: Tim Holy Date: Wed, 8 Jan 2025 05:26:50 -0600 Subject: [PATCH 1/3] Remove JET from Project.toml Added (presumably accidentally) in a0b7026 --- Project.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/Project.toml b/Project.toml index 5201f13..f8ba5c3 100644 --- a/Project.toml +++ b/Project.toml @@ -3,7 +3,6 @@ uuid = "150eb455-5306-5404-9cee-2592286d6298" version = "0.6.3" [deps] -JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" StaticArrays = "90137ffa-7385-5640-81b9-e52037218182" From a27be358c3e6459b26ec2d47a26868e9ed848e7d Mon Sep 17 00:00:00 2001 From: Tim Holy Date: Wed, 8 Jan 2025 05:46:45 -0600 Subject: [PATCH 2/3] Bump to Julia 1.10 --- .github/workflows/ci.yml | 3 +-- Project.toml | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 24c08fc..3e9cf48 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,8 +12,7 @@ jobs: strategy: matrix: version: - - '1.0' - - '1.6' + - '1.10' - '1' os: - ubuntu-latest diff --git a/Project.toml b/Project.toml index f8ba5c3..359ea16 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "CoordinateTransformations" uuid = "150eb455-5306-5404-9cee-2592286d6298" -version = "0.6.3" +version = "0.6.4" [deps] LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" @@ -14,7 +14,7 @@ LinearAlgebra = "1" StaticArrays = "0.11, 0.12, 1.0" Test = "1" Unitful = "1" -julia = "1" +julia = "1.10" [extras] Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" From 10b8f3422ca30d09c0e0eac245409b8b896929f9 Mon Sep 17 00:00:00 2001 From: Tim Holy Date: Wed, 8 Jan 2025 07:05:56 -0600 Subject: [PATCH 3/3] Fix a broken doctest xref https://github.com/JuliaDocs/Documenter.jl/issues/2277#issuecomment-2577575735 --- docs/Project.toml | 1 + docs/src/index.md | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/Project.toml b/docs/Project.toml index dfa65cd..c600244 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -1,2 +1,3 @@ [deps] +CoordinateTransformations = "150eb455-5306-5404-9cee-2592286d6298" Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" diff --git a/docs/src/index.md b/docs/src/index.md index ea8cd05..371affb 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -179,16 +179,16 @@ and a translation, e.g. `Translation(v) ∘ LinearMap(v)` (or any combination of `AffineMap`s can be constructed to fit point pairs `from_points => to_points`: -```jldoctest +```jldoctest; filter=[r"(2\.0|1\.9999\d+)" => "2.0", r"(0\.5|0\.49999\d+)" => "0.5", r"(0\.0|[ -]\d\.\d+e-\d\d)" => "0.0", r"(1\.0(?!0)|1\.0000\d+|0\.9999\d+)" => "1.0"] julia> from_points = [[0, 0], [1, 0], [0, 1]]; julia> to_points = [[1, 1], [3, 1], [1.5, 3]]; julia> AffineMap(from_points => to_points) -AffineMap([1.9999999999999996 0.5; -5.551115123125783e-16 2.0], [0.9999999999999999, 1.0000000000000002]) +AffineMap([2.0 0.5; 0.0 2.0], [1.0, 1.0]) ``` -The points can be supplied as a collection of vectors or as a matrix with points as columns. +(You may get slightly different numerical values due to roundoff errors.) The points can be supplied as a collection of vectors or as a matrix with points as columns. ### Perspective transformations