Skip to content

Some fixes for Julia 1.6 nightly #231

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

Merged
merged 2 commits into from
Oct 8, 2020
Merged

Conversation

mateuszbaran
Copy link
Member

Let's try making tests pass on Julia 1.6 nightly. For now I'm ignoring the issue about ambiguities.

@codecov
Copy link

codecov bot commented Oct 8, 2020

Codecov Report

Merging #231 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #231   +/-   ##
=======================================
  Coverage   95.49%   95.49%           
=======================================
  Files          70       70           
  Lines        4324     4324           
=======================================
  Hits         4129     4129           
  Misses        195      195           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 67ee0f1...cdb6ca7. Read the comment docs.

@test sprint(show, "text/plain", x) == """
$(sprint(show, SVDMPoint{Matrix{Float64}, Vector{Float64}, Matrix{Float64}}))
U factor:
3×2 $(sprint(show, Matrix{Float64})):
Copy link
Member

Choose a reason for hiding this comment

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

You could also use the print of x.U for the whole block lines 15--18?

Copy link
Member Author

Choose a reason for hiding this comment

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

OK, I'll try that.

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't how to print x.U to get the correct spacing 🙁 .

Copy link
Member

Choose a reason for hiding this comment

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

Ah, I see, because we add an indent (1 or 2 spaces?), see

sp = replace(sp, '\n' => "\n ")

on a place where I tricked something like that, too.

Copy link
Member Author

Choose a reason for hiding this comment

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

I think we can do that in another PR.

Copy link
Member

Choose a reason for hiding this comment

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

Ok.

@kellertuer
Copy link
Member

Do you have an idea why there are now so many ambiguities since 1.6?

@mateuszbaran
Copy link
Member Author

Do you have an idea why there are now so many ambiguities since 1.6?

There were some changes about ambiguity detection, for example here: JuliaLang/julia#37616 . I don't understand what exactly was changed though.

@mateuszbaran mateuszbaran merged commit e5e807a into master Oct 8, 2020
@kellertuer kellertuer deleted the mbaran/more-fix-for-Julia-1.6 branch August 2, 2021 17:03
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