Skip to content

Commit 596cd9e

Browse files
authored
Fix guardsrand (#17)
1 parent b58b57f commit 596cd9e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

REQUIRE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
julia 0.7-alpha
1+
julia 0.7-beta2

src/optim_tests/multivariate/quad_transforms.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ function _randommatrix(N::Int, scaling::Bool=true)
135135
retval
136136
end
137137

138-
guardsrand(0) do
138+
guardseed(0) do
139139
examples["Paraboloid Random Matrix"] = _paraboloidproblem(100;
140140
name = "Paraboloid Random Matrix (100)",
141141
mat = _randommatrix(100))

src/optim_tests/multivariate/unconstrained.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export OptimizationProblem
66

77
import LinearAlgebra: Diagonal, qr, dot
88
import SparseArrays: sparse
9-
import Test: guardsrand
9+
import Test: guardseed
1010

1111
import ..objective, ..gradient, ..hessian
1212

0 commit comments

Comments
 (0)