diff --git a/HCKalmanFilter.podspec b/HCKalmanFilter.podspec index 017765f..c0c676f 100644 --- a/HCKalmanFilter.podspec +++ b/HCKalmanFilter.podspec @@ -1,6 +1,5 @@ Pod::Spec.new do |s| -s.platform = :ios s.name = "HCKalmanFilter" s.version = "1.2.2" s.summary = "HCKalmanFilter is Swift implementation of Kalman filter algorithm intended to solve problem with GPS tracking" @@ -15,8 +14,10 @@ s.author = { "Hypercubesoft" => "office@hypercubesoft.com" } s.source = { :git => "https://github.com/Hypercubesoft/HCKalmanFilter.git", :tag => "#{s.version}"} s.ios.deployment_target = "9.0" +s.watchos.deployment_target = '3.0' + s.source_files = "HCKalmanFilter/*" -s.dependency 'Surge', '~> 2.0.0' +s.dependency 'Surge', '~> 2.3.2' -end \ No newline at end of file +end diff --git a/HCKalmanFilter/HCMatrixObject.swift b/HCKalmanFilter/HCMatrixObject.swift index d99d301..2f74e92 100644 --- a/HCKalmanFilter/HCMatrixObject.swift +++ b/HCKalmanFilter/HCMatrixObject.swift @@ -173,7 +173,7 @@ class HCMatrixObject { let result = HCMatrixObject(rows: left.rows, columns: left.columns) - result.matrix = Surge.add(left.matrix, y: right.matrix) + result.matrix = Surge.add(left.matrix, right.matrix) return result } @@ -214,7 +214,7 @@ class HCMatrixObject /// - returns: result HCMatrixObject object of multiplication operation static func *(left:HCMatrixObject, right:HCMatrixObject) -> HCMatrixObject? { - let resultMatrix = Surge.mul(left.matrix, y: right.matrix) + let resultMatrix = Surge.mul(left.matrix, right.matrix) let result = HCMatrixObject(rows: resultMatrix.rows,columns: resultMatrix.columns) result.matrix = resultMatrix