Skip to content

Commit

Permalink
Some backwards compability
Browse files Browse the repository at this point in the history
  • Loading branch information
thofma committed Jul 23, 2018
1 parent cebd6b4 commit 64813b5
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions src/AbstractAlgebra.jl
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export add!, addeq!, addmul!, base_ring, cached, canonical_unit, change_base_rin
image_map, image_fn, inflate, inskewdiag, integral,
interpolate, inv, inv!, inverse_fn, invmod, isconstant, isdegree,
isdomain_type, isexact_type, isgen, ishessenberg,
ismonomial, isone, isreverse,
ismonomial, isnegative, isone, isreverse,
isrimhook, isrref, issquare,
isterm, isunit, iszero, laurent_ring,
lcm, lead, leglength, length,
Expand Down Expand Up @@ -453,11 +453,11 @@ include("error.jl")

include("Groups.jl")

###########################################################
###############################################################################
#
# Package handle creation
#
###########################################################
###############################################################################

const package_handle = [1]

Expand Down Expand Up @@ -559,6 +559,16 @@ QQ = JuliaQQ

RealField = JuliaRealField

###############################################################################
#
# For backwards compability
#
###############################################################################

displayed_with_minus_in_front(x) = isnegative(x)

isnegative(x) = displayed_with_minus_in_front(x)

###############################################################################
#
# Test code
Expand Down

0 comments on commit 64813b5

Please sign in to comment.