Skip to content

Commit

Permalink
Add missing pub specifier to atan2
Browse files Browse the repository at this point in the history
  • Loading branch information
tiehuis committed Mar 22, 2018
1 parent f885a1a commit 53588f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/math/atan2.zig
Expand Up @@ -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),
Expand Down

0 comments on commit 53588f4

Please sign in to comment.