On Monday, February 9, 2015 at 4:24:57 PM UTC-8, Ivar Nesje wrote: > > I definitely agree that the info message has some confusing aspects. > Please open an issue (or a PR) with Lint.jl so that the info reads > something like. > > INFO: In 0.4, replace int() with Int(), or some of the other explicit > rounding functions. (round, trunc, etc...) > > I'm happy to do this, but consider my specific use case for a moment: a graph adjacency matrix A of boolean values. Right now, I can call int(A) to turn this into an array where true = 1 and false = 0, which is ideal for determining the Laplacian matrix.
If int() isn't the right way to do this, what is? round(), trunc(), parseint() don't work, and creating a separate function that iterates over A and converts the true values to 1 seems redundant.
