From 8ba4a3dd01bbf59cc26b85d43ffe65756751bc71 Mon Sep 17 00:00:00 2001 From: simon place Date: Mon, 21 Feb 2022 10:39:45 +0000 Subject: [PATCH] math.complex: make mutable the Complex.re and Complex.im fields (#13540) --- vlib/math/complex/complex.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/math/complex/complex.v b/vlib/math/complex/complex.v index 2883dab4fe..39d848cad2 100644 --- a/vlib/math/complex/complex.v +++ b/vlib/math/complex/complex.v @@ -7,7 +7,7 @@ module complex import math pub struct Complex { -pub: +pub mut: re f64 im f64 }