CommunityDetection.jl
CommunityDetection.jl copied to clipboard
LoadError: UndefVarError: optimize_partition not defined
I'm trying to use the function optimize_partition and the only thing that I get is the following:
================================================ [ ERROR: CommunityDetection ]================================================
failed process: Process(/Applications/Julia-0.5.app/Contents/Resources/julia/bin/julia -Ccore2 -J/Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib --compile=yes --depwarn=yes --check-bounds=yes --code-coverage=none --color=yes --compilecache=yes /Users/lazaro/.julia/v0.5/CommunityDetection/test/runtests.jl
, ProcessExited(1)) [1]
=============================================================================================================================
ERROR: CommunityDetection had test errors
in #test#61(::Bool, ::Function, ::Array{AbstractString,1}) at ./pkg/entry.jl:740
in (::Base.Pkg.Entry.#kw##test)(::Array{Any,1}, ::Base.Pkg.Entry.#test, ::Array{AbstractString,1}) at ./
Any help will be useful. Thanks!
I find the function optimize_partition
in line 15 of /test/runtest.jl
should be optimize_partition!
, and the change has been made. Please Pkg.update()
and try again!
Ok. Thanks! Another issue is that in the USAGE section you must change how you call the function
optimize_partition(mp) # for optimize_partition!(mp) instead.
Thanks for your reminder. Any other problems please contact me.