removed dependency for docile, doctests are now done using juliadoc

This commit is contained in:
Jukka Aho
2015-10-20 23:31:15 +03:00
parent 9e6fc14a39
commit 5d8a119c40
4 changed files with 16 additions and 11 deletions
+10 -2
View File
@@ -7,8 +7,16 @@ using Lexicon
using Logging
@Logging.configure(level=DEBUG)
"""
Simple linspace extension to multidimensional values. Contribute to julialang?
""" Simple linspace extension to arrays.
Examples
--------
>>> linspace([0.0], [1.0], 3)
3-element Array{Array{Float64,1},1}:
[0.0]
[0.5]
[1.0]
"""
function Base.linspace(X1, X2, n)
[1/2*(1-ti)*X1 + 1/2*(1+ti)*X2 for ti in linspace(-1, 1, n)]
-2
View File
@@ -8,8 +8,6 @@ using ForwardDiff
using Logging
@Logging.configure(level=INFO)
VERSION < v"0.4-" && using Docile
# Below this line is internal functions related to solver. They can be used
# directly if needed or using general interface combining data model and
# solver.
-2
View File
@@ -6,8 +6,6 @@ module interfaces
using Logging
@Logging.configure(level=DEBUG)
VERSION < v"0.4-" && using Docile
#using JuliaFEM.elasticity_solver
export solve_elasticity_interface!