Skip to content

Conversation

wupeifan
Copy link
Contributor

@wupeifan wupeifan commented Jun 3, 2020

Two changes:

  1. Adjusted the order in if...else in build_function. This is because SparseMatrixCSC <: AbstractArray is true. Therefore we need to adjust the order to trigger sparse builds before it goes through dense builds. I also added some Init=Expr[] to prevent empty calls on reduce.
  2. Changed the related test case. The previous one was a dense matrix therefore it didn't test the related codes.

This PR can replace #422 .

@wupeifan
Copy link
Contributor Author

wupeifan commented Jun 3, 2020

OK, it looks like all tests passed.

@YingboMa YingboMa merged commit 6afdbd2 into SciML:master Jun 3, 2020
@wupeifan wupeifan deleted the fix-arraynestedsparse branch June 3, 2020 02:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants