commit 53588f4f124bb713cc2c67c721d5f4e3586b7d79 (tree)
parent f885a1ab61a664378c3f3062a3de1150b6a4ee07
Author: Marc Tiehuis <marctiehuis@gmail.com>
Date: Thu, 22 Mar 2018 19:18:51 +1300
Add missing pub specifier to atan2
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/std/math/atan2.zig b/std/math/atan2.zig
@@ -22,7 +22,7 @@ const std = @import("../index.zig");
const math = std.math;
const assert = std.debug.assert;
-fn atan2(comptime T: type, x: T, y: T) T {
+pub fn atan2(comptime T: type, x: T, y: T) T {
return switch (T) {
f32 => atan2_32(x, y),
f64 => atan2_64(x, y),