-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
StackOverflow for cholfact(::SparseMatrixCSC{Float32,Int})
(and the possible return of float64
?)
#14076
Labels
sparse
Sparse arrays
Comments
From
so it would indeed be a challenging way of fixing this issue. |
Ah, I hadn't caught the "only the first two are currently supported" part. You're right about the challenge level! |
Just round everything off to |
andreasnoack
added a commit
that referenced
this issue
Nov 23, 2015
andreasnoack
added a commit
that referenced
this issue
Nov 23, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The proximal cause is
at this line:
float(A)
will just pass-through aFloat32
array, butSparse
insists onFloat64
:There seem to be several potential ways to solve this:
Union
, specialize that function on each type so the conversion can be written out explicitlyfloat64
or similar, which means "I don't care what the container type is, but make sure its internal storage is alwaysFloat64
."On the last option, I've noticed some reason for this elsewhere; I don't really want to have to say
convert(Image{base_colorant_type(eltype(img)){Float64}}, img)
just to convert from aUFixed8
internal representation to aFloat64
internal representation.The text was updated successfully, but these errors were encountered: