Add missing pub specifier to atan2

This commit is contained in:
Marc Tiehuis 2018-03-22 19:18:51 +13:00
parent f885a1ab61
commit 53588f4f12

View File

@ -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),