Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

normalize! generated function error in Documenter build #635

Closed
jkrumbiegel opened this issue Jan 17, 2021 · 1 comment
Closed

normalize! generated function error in Documenter build #635

jkrumbiegel opened this issue Jan 17, 2021 · 1 comment

Comments

@jkrumbiegel
Copy link

jkrumbiegel commented Jan 17, 2021

I'm getting this error in an @example block in a Documenter build on Github Actions only, but not locally when running the same code. The code is just fitting a histogram at some point.

On Statsbase v0.33.2 and Documenter v0.26.1, Julia nightly - ubuntu-latest - x64

The function body AST defined by this @generated function is not pure. This likely means it contains a closure or comprehension.
Stacktrace:
  [1] #normalize#151
    @ ~/.julia/packages/StatsBase/EA8Mh/src/hist.jl:510 [inlined]
  [2] (::AbstractPlotting.var"#644#648"{Observable{Vector{Float64}}})(edges::StepRangeLen{Float64, Base.TwicePrecision{Float64}, Base.TwicePrecision{Float64}}, normalization::Symbol)
    @ AbstractPlotting ~/work/AbstractPlotting.jl/AbstractPlotting.jl/src/stats/hist.jl:61
@nalimilan
Copy link
Member

Most likely fixed by #656.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants