Skip to content

The example doesn't run in Julia 0.6 #9

@xiaodaigh

Description

@xiaodaigh

I tried the following code in Julia 0.6 and it gave me an error. So I tried to checkout release-0.2 and rerun and it still gives me an error.

using DataFlow
@flow function var(xs)
  mean = sum(xs)/length(xs)
  meansqr = sumabs2(xs)/length(xs)
  meansqr - mean^2
end

xs = DataFlow.cse(var.output)
DataFlow.IVertex{Any}
chamois = length(xs)
sumabs2(xs) / chamois - (sum(xs) / chamois) ^ 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions