Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: JuliaPhysics/DynamicQuantities.jl
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.11.0
Choose a base ref
...
head repository: JuliaPhysics/DynamicQuantities.jl
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.11.1
Choose a head ref
  • 9 commits
  • 2 files changed
  • 2 contributors

Commits on Jan 9, 2024

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    ba67f99 View commit details
  2. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    493e546 View commit details

Commits on Jan 10, 2024

  1. Fix unclosed string

    MilesCranmer authored Jan 10, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    b01987d View commit details
  2. Make idiomatic

    MilesCranmer authored Jan 10, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    699de57 View commit details
  3. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    d744af4 View commit details
  4. Merge pull request #109 from GlenHertz/patch-2

    Add Ohm SI prefixes used in circuit design
    MilesCranmer authored Jan 10, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    e34fd8e View commit details
  5. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    35327d7 View commit details
  6. Merge pull request #108 from GlenHertz/patch-1

    Add common SI prefixes for Farads (used in circuit design)
    MilesCranmer authored Jan 10, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    985f7bf View commit details
  7. 4

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    1b80c05 View commit details
Showing with 6 additions and 6 deletions.
  1. +1 −1 Project.toml
  2. +5 −5 src/units.jl
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "DynamicQuantities"
uuid = "06fc5a27-2a28-4c7c-a15d-362465fb6821"
authors = ["MilesCranmer <miles.cranmer@gmail.com> and contributors"]
version = "0.11.0"
version = "0.11.1"

[deps]
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"
10 changes: 5 additions & 5 deletions src/units.jl
Original file line number Diff line number Diff line change
@@ -107,9 +107,9 @@ end
@add_prefixes W (m, k, M, G)
@add_prefixes C ()
@add_prefixes V (p, n, μ, u, m, k, M, G)
@add_prefixes F ()
@add_prefixes Ω (n, μ, u, m)
@add_prefixes ohm (n, μ, u, m)
@add_prefixes F (f, p, n, μ, u, m)
@add_prefixes Ω (n, μ, u, m, k, M, G)
@add_prefixes ohm (n, μ, u, m, k, M, G)
@add_prefixes T ()

# SI derived units
@@ -142,11 +142,11 @@ end
V,
)
@doc(
"Capacitance in Farads.",
"Capacitance in Farads. Available variants: `fF`, `pF`, `nF`, `μF` (/`uF`), `mF`.",
F,
)
@doc(
"Resistance in Ohms. Available variant: `nΩ`, `μΩ` (/`uΩ`), `mΩ`. Also available is ASCII `ohm` (with variants `nohm`, `μohm` (/`uohm`), `mohm`).",
"Resistance in Ohms. Available variant: `nΩ`, `μΩ` (/`uΩ`), `mΩ`, `kΩ`, `MΩ`, `GΩ`. Also available is ASCII `ohm` (with variants `nohm`, `μohm` (/`uohm`), `mohm`, `kohm`, `Mohm`, `Gohm`).",
Ω,
)
@doc(