mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
math.complex: make mutable the Complex.re and Complex.im fields (#13540)
This commit is contained in:
parent
809772db4e
commit
8ba4a3dd01
@ -7,7 +7,7 @@ module complex
|
|||||||
import math
|
import math
|
||||||
|
|
||||||
pub struct Complex {
|
pub struct Complex {
|
||||||
pub:
|
pub mut:
|
||||||
re f64
|
re f64
|
||||||
im f64
|
im f64
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user