julia lang - How to use type using parametric typing -
i trying use type using parametric typing
error. julia version 0.6.
code:
type basicrbc{t <: real} a::t b::t vce::matrix{t} matrix1::matrix{t} c::t output::t cons::t vg::vector{t} end
error:
invalid redefinition of constant basicrbc
a
,b
,c
,output
, cons
float64
matrix1
matrix
vg
array
vce
[ 0.9 0.8 0.1]
Comments
Post a Comment