Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/nemocas/Nemo.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
wbhart committed May 20, 2017
2 parents 2bdf14d + 1d12e7d commit 07c9c34
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 3 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
environment:
matrix:
# Releases
- JULIAVERSION: "julialang/bin/winnt/x64/0.5/julia-0.5-latest-win64.exe"
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x64/0.5/julia-0.5-latest-win64.exe"
# Nightlies

install:
- ps: "[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12"
# Download most recent Julia Windows binary
- ps: (new-object net.webclient).DownloadFile(
$("http://s3.amazonaws.com/"+$env:JULIAVERSION),
$env:JULIA_URL,
"C:\projects\julia-binary.exe")
# Run installer silently, output to C:\projects\julia
- C:\projects\julia-binary.exe /S /D=C:\projects\julia
Expand Down
2 changes: 2 additions & 0 deletions src/antic/nf_elem.jl
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ function check_parent(a::nf_elem, b::nf_elem)
a.parent != b.parent && error("Incompatible number field elements")
end

show_minus_one(::Type{nf_elem}) = false

###############################################################################
#
# Basic manipulation
Expand Down
4 changes: 3 additions & 1 deletion src/flint/padic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ function check_parent(a::padic, b::padic)
error("Incompatible padic rings in padic operation")
end

parent_type(::Type{padic}) = FlintPadicField

###############################################################################
#
# Basic manipulation
Expand Down Expand Up @@ -223,7 +225,7 @@ needs_parentheses(x::padic) = true

isnegative(x::padic) = false

show_minus_one(::FlintPadicField) = true
show_minus_one(::Type{padic}) = true

###############################################################################
#
Expand Down

0 comments on commit 07c9c34

Please sign in to comment.