Skip to content

Commit

Permalink
Fixed bug in on_cs to non-origin locations.
Browse files Browse the repository at this point in the history
  • Loading branch information
aptmcl committed Dec 9, 2024
1 parent b2f38bc commit a24aaeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Coords.jl
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ on_cs(p::Loc, cs::CS) =
on_cs(ps::Locs, cs::CS) =
[on_cs(p, cs) for p in ps]

on_cs(p, q::Loc) = on_cs(p, q.cs)
on_cs(p, q::Loc) = on_cs(p, translated_cs(q.cs, q.x, q.y, q.z))



Expand Down

0 comments on commit a24aaeb

Please sign in to comment.