Bug with divrem?

debug

#1

I am using

divrem(A, B)

and getting the following warning

WARNING: div(A::AbstractArray, B::Number) is deprecated, use div.(A, B) instead.

It looks like I am being told to use div. instead of div, but I am not using div and I don’t think that divrem. exists. Is this warning spurious?


#2

divrem calls div and rem internally. Calling the dot version of divrem suppresses the warning: divrem.(A, B).


#3

It gives different answer though, Vector of Tuples intead of Tuple of Vector's.


#4

Why should it be Tuple of Vector's?


#5

The original function gave that.


#6

By the way, would it be possible to have divrem call the related LLVM routine if this exists?


#7

Is this a bug worth opening an issue for on Julia’s github?


#8

If you would like to file one, go ahead.