diff --git a/Package.swift b/Package.swift index 8415b8c..b56b13f 100644 --- a/Package.swift +++ b/Package.swift @@ -10,9 +10,6 @@ let package = Package( .library( name: "SwiftColabTools", targets: ["SwiftColabTools"]), - .library( - name: "Tools", - targets: ["Tools"]), ], dependencies: [ // Dependencies declare other packages that this package depends on. @@ -24,9 +21,6 @@ let package = Package( .target( name: "SwiftColabTools", dependencies: []), - .target( - name: "Tools", - dependencies: []), .testTarget( name: "SwiftColabToolsTests", dependencies: ["SwiftColabTools"]), diff --git a/Sources/Tools/Tools.swift b/Sources/Tools/Tools.swift deleted file mode 100644 index 5ce32f3..0000000 --- a/Sources/Tools/Tools.swift +++ /dev/null @@ -1,18 +0,0 @@ -import Foundation - -struct Toolstext { - var text = "Hello, World!" -} - -public func normMarsaglia( ) -> Double { - var S = 1.1 - var U = Double() - var V = Double() - while( S >= 1.0) { - U = Double.random(in: -1..<1) - V = Double.random(in: -1..<1) - S = U*U + V*V - //print(S) - } - return U * sqrt((-2.0 * log(S))/S) -}