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 5201f13..359ea16 100644 --- a/Project.toml +++ b/Project.toml @@ -1,9 +1,8 @@ name = "CoordinateTransformations" uuid = "150eb455-5306-5404-9cee-2592286d6298" -version = "0.6.3" +version = "0.6.4" [deps] -JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" StaticArrays = "90137ffa-7385-5640-81b9-e52037218182" @@ -15,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" 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