diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 410d633ce..ce8609b53 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -18,7 +18,7 @@ jobs: - name: Install JuliaFormatter and format run: | using Pkg - Pkg.add(PackageSpec(name="JuliaFormatter")) + Pkg.add(PackageSpec(name="JuliaFormatter", version="1")) using JuliaFormatter format("."; verbose=true) shell: julia --color=yes {0} diff --git a/NEWS.md b/NEWS.md index 95c19c063..e5f931594 100644 --- a/NEWS.md +++ b/NEWS.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.10.4] - 2024-10-18 + +### Added + +* `uniform_distribution` now has an error hint explaining what has to be done to make it work. + ## [0.10.3] - 2024-10-04 ### Changed diff --git a/Project.toml b/Project.toml index 074f5a4b8..24e970544 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "Manifolds" uuid = "1cead3c2-87b3-11e9-0ccd-23c62b72b94e" authors = ["Seth Axen ", "Mateusz Baran ", "Ronny Bergmann ", "Antoine Levitt "] -version = "0.10.3" +version = "0.10.4" [deps] Einsum = "b7d42ee7-0b51-5a75-98ca-779d3107e4c0" diff --git a/src/Manifolds.jl b/src/Manifolds.jl index e693a5b88..7e7327bc9 100644 --- a/src/Manifolds.jl +++ b/src/Manifolds.jl @@ -597,6 +597,12 @@ function __init__() if exc.f === solve_exp_ode print(io, "\nDid you forget to load OrdinaryDiffEq? For example: ") printstyled(io, "`using OrdinaryDiffEq`", color=:cyan) + elseif exc.f === uniform_distribution + print( + io, + "\nDid you forget to load Distributions and RecursiveArrayTools? For example: ", + ) + printstyled(io, "`using Distributions, RecursiveArrayTools`", color=:cyan) end end end