Define variables through new @defvar macro
Compare changes
- Michiel Cottaar authored
+ 11
− 17
@@ -134,8 +134,13 @@ function _defvar(func_def, getter=nothing)
@@ -143,7 +148,7 @@ function _defvar(func_def, getter=nothing)
@@ -198,7 +203,6 @@ function def_alternate_variable!(name::Symbol, other_var::Symbol, to_other::Func
@@ -288,16 +292,6 @@ Any `pathway` variables not explicitly defined for this building block will be p
@@ -307,10 +301,10 @@ Returns the gradient orientation.
@@ -324,7 +318,7 @@ function (var::Type{Variable})(block::AbstractBlock, args...; kwargs...)