Skip to content

Commit 4655801

Browse files
committed
attempting to fix broke travis config
1 parent 2c45054 commit 4655801

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

.travis.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,12 @@ os:
66
julia:
77
- 1.3
88
- nightly
9-
matrix:
10-
allow_failures:
11-
- julia: nightly
12-
fast_finish: true
13-
notifications:
14-
email: false
159
after_success:
1610
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(process_folder())'
1711
jobs:
12+
allow_failures:
13+
- julia: nightly
14+
fast_finish: true
1815
include:
1916
- stage: Documentation
2017
julia: 1.3
@@ -24,3 +21,5 @@ jobs:
2421
Pkg.instantiate();
2522
include("docs/make.jl");'
2623
after_success: skip
24+
notifications:
25+
email: false

src/ParallelKMeans.jl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,16 @@ export kmeans
77

88
abstract type CalculationMode end
99

10-
struct SingleThread <: CalculationMode end
10+
# Single thread class to control the calculation type based on the CalculationMode
11+
struct SingleThread <: CalculationMode
12+
end
1113

14+
# Multi threaded implementation to control the calculation type based avaialble threads
1215
struct MultiThread <: CalculationMode
1316
n::Int
1417
end
18+
19+
# Get the number of avaialble threads for
1520
MultiThread() = MultiThread(Threads.nthreads())
1621

1722
"""

0 commit comments

Comments
 (0)