From 53588f4f124bb713cc2c67c721d5f4e3586b7d79 Mon Sep 17 00:00:00 2001 From: Marc Tiehuis Date: Thu, 22 Mar 2018 19:18:51 +1300 Subject: [PATCH] Add missing pub specifier to atan2 --- std/math/atan2.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/std/math/atan2.zig b/std/math/atan2.zig index 6f29b7b18d..37c520da46 100644 --- 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),