Skip to content

Commit

Permalink
Merge pull request #614 from chanil1218/master
Browse files Browse the repository at this point in the history
Remove useless parentheses causing swift build error
  • Loading branch information
pmairoldi committed Dec 15, 2015
2 parents 3f88894 + 2496c8b commit cc0f59d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Charts/Classes/Animation/ChartAnimationEasing.swift
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ internal struct EasingFunctions
let s: NSTimeInterval = 1.70158
var position: NSTimeInterval = elapsed / duration
position--
return CGFloat( (position * position * ((s + 1.0) * position + s) + 1.0) )
return CGFloat( position * position * ((s + 1.0) * position + s) + 1.0 )
}

internal static let EaseInOutBack = { (elapsed: NSTimeInterval, duration: NSTimeInterval) -> CGFloat in
Expand Down Expand Up @@ -391,4 +391,4 @@ internal struct EasingFunctions
}
return EaseOutBounce(elapsed * 2.0 - duration, duration) * 0.5 + 0.5
}
}
}

0 comments on commit cc0f59d

Please sign in to comment.