Skip to content
Snippets Groups Projects
Commit 131b61ec authored by Jim Wallace's avatar Jim Wallace
Browse files

Trying new compiler directive

parent 6315ee32
No related branches found
No related tags found
No related merge requests found
Pipeline #108401 passed with warnings
...@@ -21,13 +21,21 @@ ...@@ -21,13 +21,21 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
// OTHER DEALINGS IN THE SOFTWARE. // OTHER DEALINGS IN THE SOFTWARE.
#if os(Darwin)
#warning("OS = DARWIN")
#else
#warning("OS != DARWIN")
#endif
import Foundation import Foundation
#if canImport(Surge) #if canImport(Accelerate)
import Surge import Surge
#else #else
//TODO: Implement Linux alternative with better performance, currently uses naive solution. //TODO: Implement Linux alternative with better performance, currently uses naive solution.
#endif #endif
class KeyedVectorCorpus: SNLPCorpus { class KeyedVectorCorpus: SNLPCorpus {
typealias DocumentEncoding = [Double] typealias DocumentEncoding = [Double]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment