Skip to content
This repository has been archived by the owner on Jul 26, 2020. It is now read-only.

Ambiguous use of operator '/' #40

Open
jordanhart opened this issue Jul 7, 2017 · 0 comments
Open

Ambiguous use of operator '/' #40

jordanhart opened this issue Jul 7, 2017 · 0 comments

Comments

@jordanhart
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant