Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
montyvesselinov committed Nov 9, 2018
1 parent 750d0d9 commit b7ee5ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/blind_source_separation/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Mads.graphoff()

@Mads.tryimport Ipopt

if !isdefined(Mads, :Ipopt) && !isdefined(Mads, :NMFipopt)
if !isdefined(Mads, :Ipopt) || !isdefined(Mads, :NMFipopt)
@warn("Ipopt not available; blind source separation test (BSS) skipped!")
else
workdir = joinpath(Mads.madsdir, "examples", "blind_source_separation")
Expand Down

0 comments on commit b7ee5ed

Please sign in to comment.