Skip to content

Commit 4726918

Browse files
authored
Don't use Abstract fields (#5)
1 parent 66e701b commit 4726918

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/optim_tests/multivariate/unconstrained.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ export OptimizationProblem, objective, gradient, objective_gradient, hessian
77
#######################
88
# TODO: We could write fg! calls as well here
99
#######################
10-
immutable OptimizationProblem{P, Tfg, Tf <: Real}
11-
name::AbstractString
10+
immutable OptimizationProblem{P, Tfg, Tf <: Real, TS <: AbstractString}
11+
name::TS
1212
f::Function
1313
g!::Function
1414
fg!::Tfg

0 commit comments

Comments
 (0)