Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion REQUIRE
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
julia 0.4
Compat 0.9.1
Compat 0.17.0
16 changes: 8 additions & 8 deletions src/Calculus.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ module Calculus
second_derivative

# TODO: Debate type system more carefully
# abstract BundledFunction
# abstract ScalarFunction
# abstract VectorFunction
# abstract ForwardDifference
# abstract CentralDifference
# abstract ComplexDifference
# abstract GradientEstimator
# abstract HessianEstimator
# abstract type BundledFunction end
# abstract type ScalarFunction end
# abstract type VectorFunction end
# abstract type ForwardDifference end
# abstract type CentralDifference end
# abstract type ComplexDifference end
# abstract type GradientEstimator end
# abstract type HessianEstimator end

# typealias NonDifferentiableFunction Function
# type DifferentiableFunction
Expand Down
4 changes: 2 additions & 2 deletions src/symbolic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import Base.show, Base.(==)
#
#################################################################

abstract Symbolic
abstract AbstractVariable <: Symbolic
Compat.@compat abstract type Symbolic end
Compat.@compat abstract type AbstractVariable <: Symbolic end
Compat.@compat typealias SymbolicVariable Union{Symbol, AbstractVariable}


Expand Down