-
Notifications
You must be signed in to change notification settings - Fork 10.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modified min and max for code uniformity #188
Conversation
Does this change implement what was discussed in pull request #137? |
This changes the behavior of Neither is correct or wrong, but the change is unnecessary. |
Also, currently /// Returns the greatest argument passed.
@warn_unused_result
public func max<T : Comparable>(x: T, _ y: T, _ z: T, _ rest: T...) -> T {
var r = x
if y >= r {
r = y
}
if z >= r {
r = z
}
for t in rest {
if t >= r {
r = t
}
}
return r
} |
@mmkg Please update the pull request and provide tests. |
…member-types Ensure a space inside braces in a single member type decl.
[AutoDiff upstream] Update gyb-generated files.
XFAIL CoreStore for 3.2, 4.0 on {tv, watch}OS due to SDK changes
No description provided.