Skip to content

Commit fd57ff1

Browse files
committed
Imported Base.rand to fix rand(Haar)
Changed "using Test" to "using Base.Test" (Unit tests do not pass, due to "has" and "unsafe_assign" not being defined.)
1 parent ec880c3 commit fd57ff1

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

src/HaarMeasure.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
export rand, NeedPiecewiseCorrection
2-
import Base.rand
1+
export NeedPiecewiseCorrection
2+
33

44
# Computes samplex of real or complex Haar matrices of size nxn
55
#

src/RandomMatrices.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ module RandomMatrices
66
importall Distributions
77
using Catalan
88

9+
import Base.rand
10+
911
#If the GNU Scientific Library is present, turn on additional functionality.
1012
_HAVE_GSL = try
1113
using GSL

test/FormalPowerSeries.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Jiahao Chen <[email protected]> 2013
66

7-
using Test
7+
using Base.Test
88
using RandomMatrices
99

1010
MaxSeriesSize=10

0 commit comments

Comments
 (0)