JuliaPolyhedra / Polyhedra.jl

Polyhedral Computation Interface
Other
172 stars 27 forks source link

Strange formatting in warning #175

Closed schillic closed 5 years ago

schillic commented 5 years ago

https://github.com/JuliaPolyhedra/Polyhedra.jl/blob/7a12f89d57643ceab3d2f376e70254b3dc3d62bf/src/redundancy.jl#L109-L113

This renders the following text here:

┌ Warning: `removevredundancy` will trigger the computation of the
│    H-representation, which is computationally demanding = " H-representation, which is computationally demanding"
│    because no solver was provided to the library. If this is = " because no solver was provided to the library. If this is"
│    expected, call `computehrep!` explicitely before calling = " expected, call `computehrep!` explicitely before calling"
│    this function to remove this warning. = " this function to remove this warning."
└ @ Polyhedra ~/.julia/packages/Polyhedra/jUgga/src/redundancy.jl:109

I guess you need to concatenate the string pieces with *, not with a ,.

schillic commented 5 years ago

(Side note: The parameter strongly seems to be ignored in this function.)