aboutsummaryrefslogtreecommitdiff
path: root/std/math/complex/pow.zig
diff options
context:
space:
mode:
Diffstat (limited to 'std/math/complex/pow.zig')
-rw-r--r--std/math/complex/pow.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/math/complex/pow.zig b/std/math/complex/pow.zig
index bef9fde542..4c2cd9cf34 100644
--- a/std/math/complex/pow.zig
+++ b/std/math/complex/pow.zig
@@ -4,7 +4,7 @@ const math = std.math;
const cmath = math.complex;
const Complex = cmath.Complex;
-pub fn pow(comptime T: type, z: &const T, c: &const T) T {
+pub fn pow(comptime T: type, z: *const T, c: *const T) T {
const p = cmath.log(z);
const q = c.mul(p);
return cmath.exp(q);