Closed lkuper closed 7 years ago
You are right, currently only DenseArray is supported. Julia has many different Array types and does its own optimization in type-based method dispatching. CGen cannot deal with most of these data types.
Is there a way to avoid the deprecation warning while also only using types we support?
I'd say just disable this test. The test case was added due to an old ticket #35 . Since the function itself is being deprecated, I see no point to still keeping it in our test case.
I tried fixing the following deprecation warning on 0.5:
but changing
scale(W,s)
toW * Diagonal(s)
causes the following compiler error:Is this because we're not handling the
Diagonal
type correctly? It's a subtype ofAbstractArray
.