Skip to content

Commit

Permalink
fix annulus view bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mileslucas committed Dec 23, 2020
1 parent 208eec1 commit 26bc881
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "HCIToolbox"
uuid = "b6cd55e5-4d02-4e12-b82c-005f67e784bf"
authors = ["Miles Lucas <[email protected]>"]
version = "0.5.1"
version = "0.5.2"

[deps]
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"
Expand Down
1 change: 1 addition & 0 deletions src/inject.jl
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ end
function (gen::CubeGenerator{<:AnnulusView})(base::AbstractMatrix{T}, pos; A=one(T)) where T
ctr = reverse(center(gen.cube)[2:3])
Threads.@threads for tidx in axes(base, 1)
tidx′ = gen.cube.indices[1][tidx]
location = parse_position(pos, ctr, gen.angles[tidx′])
tform = Translation(center(gen.psf) - location)
for (pidx, pidx′) in zip(axes(base, 2), gen.cube.indices[2])
Expand Down

2 comments on commit 26bc881

@mileslucas
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/26859

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.5.2 -m "<description of version>" 26bc881976f024ce56886236f318e0e94fb5798a
git push origin v0.5.2

Please sign in to comment.