Skip to content

Fix the printing for Array of ArrayPartition#39

Merged
ChrisRackauckas merged 1 commit into
masterfrom
myb/fix
Sep 6, 2018
Merged

Fix the printing for Array of ArrayPartition#39
ChrisRackauckas merged 1 commit into
masterfrom
myb/fix

Conversation

@YingboMa

@YingboMa YingboMa commented Sep 6, 2018

Copy link
Copy Markdown
Member

Comment thread test/utils_test.jl
@inferred recursive_unitless_eltype(AofuSA)

A = [ArrayPartition(ones(1),ones(1)),]
@test repr("text/plain", A) == "1-element Array{ArrayPartition{Float64,Tuple{Array{Float64,1},Array{Float64,1}}},1}:\n [1.0][1.0]"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isn't the example with float float, not arrays of float float?

@ChrisRackauckas ChrisRackauckas merged commit 48329f5 into master Sep 6, 2018
@YingboMa YingboMa deleted the myb/fix branch September 6, 2018 23:34
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.

MethodError: no method matching length when solving Hamiltonian ODE

2 participants