This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using OrdinaryDiffEq | |
using StaticArrays | |
mutable struct SimWorkspace{T} <: DEDataVector{T} | |
x::MVector{2,T} | |
a::T | |
end | |
function dyn!(du,u,p,t) | |
du .= [0 1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -rNu julia-orig/base/test.jl julia/base/test.jl | |
--- julia-orig/base/test.jl 2018-05-13 21:04:52.000000000 -0300 | |
+++ julia/base/test.jl 2018-05-13 21:16:51.000000000 -0300 | |
@@ -546,11 +546,13 @@ | |
""" | |
mutable struct DefaultTestSet <: AbstractTestSet | |
description::AbstractString | |
+ always_print_report::Bool | |
results::Vector | |
n_passed::Int |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using DiffEqBase | |
using OrdinaryDiffEq | |
############################################################################### | |
# Variables | |
############################################################################### | |
# Global variable to store the acceleration. | |
# This solution was selected just for the sake of simplification. Don't use | |
# global variables! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
importall Base | |
import RecursiveArrayTools.recursivecopy! | |
using DiffEqBase | |
using OrdinaryDiffEq | |
type SimType{T} <: AbstractArray{T,1} | |
x::Array{T,1} | |
f1::T | |
stop::Bool |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using DiffEqBase | |
using OrdinaryDiffEq | |
function f(t,u) | |
du = similar(u) | |
du[1] = u[2] | |
du[2] = -9.81 | |
du | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
importall Base | |
import RecursiveArrayTools.recursivecopy! | |
using DiffEqBase | |
using OrdinaryDiffEq | |
type SimType{T} <: AbstractArray{T,1} | |
x::Array{T,1} | |
f1::T | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
importall Base | |
import RecursiveArrayTools.recursivecopy! | |
using DiffEqBase | |
using DiffEqCallbacks | |
using OrdinaryDiffEq | |
type SimType{T} <: AbstractArray{T,1} | |
x::Array{T,1} | |
f1::T |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
importall Base | |
import RecursiveArrayTools.recursivecopy! | |
using DifferentialEquations | |
type SimType{T} <: AbstractArray{T,1} | |
x::Array{T,1} | |
f1::T | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
importall Base | |
import RecursiveArrayTools.recursivecopy! | |
using DifferentialEquations | |
type SimType{T} <: AbstractArray{T,1} | |
x::Array{T,1} | |
f1::T | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
importall Base | |
import RecursiveArrayTools.recursivecopy! | |
using DifferentialEquations | |
type SimType{T} <: AbstractArray{T,1} | |
x::Array{T,1} | |
f1::T | |
end |