From 5e4ea0a77d12a5205b0fb3775eea74e8dcc00cd1 Mon Sep 17 00:00:00 2001 From: Myrkwid <102226458+Myrkwid@users.noreply.github.com> Date: Mon, 30 May 2022 15:44:01 +0200 Subject: [PATCH] Update 07-modules.md Missing "t" results in an error. --- _episodes/07-modules.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_episodes/07-modules.md b/_episodes/07-modules.md index 769ca616..63d897cc 100644 --- a/_episodes/07-modules.md +++ b/_episodes/07-modules.md @@ -114,7 +114,7 @@ using ForwardDiff: gradient export aim, shoot_distance, Trebuchet, Environment -mutable struct Trebuchet <: AbstractVecor{Float64} +mutable struct Trebuchet <: AbstractVector{Float64} counterweight::Float64 release_angle::Float64 end