 			originalValue = self.value
 		}
 		if gesture.state == .Changed {
-			var scale = originalScale * gesture.scale
+			var scale = originalScale * Double(gesture.scale)
 			if scale < 0.0 {
 				scale = 0.01
 			}

}

class PrecisionSliderView: UIView, UICollectionViewDelegateFlowLayout, UICollectionViewDataSource, UIScrollViewDelegate, UIGestureRecognizerDelegate {
	var originalScale: CGFloat = 1.0
	var originalValue: CGFloat?
	
	typealias ValueDidChange = Void -> Void
	var valueDidChange: ValueDidChange?

			print("no model")
			return CGSizeZero
		}
		return CGSize(width: CGFloat(model.scaleRounded * Double(model.count)), height: PrecisionSlider_InnerModel.height)
	}
}

