Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Hypercubesoft/HCKalmanFilter
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: codedesigncoffee/HCKalmanFilter
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Able to merge. These branches can be automatically merged.
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on May 30, 2018

  1. Fix Surge.mul/add syntax

    totocaster committed May 30, 2018
    Copy the full SHA
    5aa755c View commit details
Showing with 2 additions and 2 deletions.
  1. +2 −2 HCKalmanFilter/HCMatrixObject.swift
4 changes: 2 additions & 2 deletions HCKalmanFilter/HCMatrixObject.swift
Original file line number Diff line number Diff line change
@@ -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