Skip to content

Commit

Permalink
Merge pull request #96 from JuliaGeometry/teh/no_jet
Browse files Browse the repository at this point in the history
Remove JET from Project.toml, get tests passing, bump to Julia 1.10
  • Loading branch information
timholy authored Jan 14, 2025
2 parents 692120d + 10b8f34 commit 1ed7816
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ jobs:
strategy:
matrix:
version:
- '1.0'
- '1.6'
- '1.10'
- '1'
os:
- ubuntu-latest
Expand Down
5 changes: 2 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -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"

Expand All @@ -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"
Expand Down
1 change: 1 addition & 0 deletions docs/Project.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[deps]
CoordinateTransformations = "150eb455-5306-5404-9cee-2592286d6298"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
6 changes: 3 additions & 3 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1ed7816

Please sign in to comment.