stsievert / swix

Swift Matrix Library
http://docs.stsievert.com/swix/
MIT License
593 stars 54 forks source link

Ambiguous use of operator '/' #40

Open jordanhart opened 7 years ago

jordanhart commented 7 years ago

Hi!

I am trying to install swix in this project https://github.com/hollance/Forge/tree/master/Examples/YOLO. After following the swix manual install instructions of adding the swix folder to the project and adding swix-master/swix/swix/swix to the objective c bridging header and running, I get this error Ambiguous use of operator '/', pointing to these line of code as canidates. func / (lhs: Int, rhs: Int) -> Double{ return lhs.double / rhs.double} func / (lhs: Double, rhs: Int) -> Double{ return lhs / rhs.double}

I also get an error Use of unresolved identifier 'Process', pointing to this line of code

Process.launchedProcess(launchPath: "cd", arguments: [S2_PREFIX+";", PYTHON_PATH, "imshow.py", filename, "(save)", "(show)"]) print("savefig: Removing CSV FILE " + S2_PREFIX + "temp.csv") Process.launchedProcess(launchPath: "rm", arguments: [S2_PREFIX+"temp.csv"])

This is on xcode version 8.3.3. What is the cause of these issues? Any advice on fixing?

Thank you so much! Jordan