Skip to content

Commit

Permalink
README.md and ci
Browse files Browse the repository at this point in the history
  • Loading branch information
sgreben committed Oct 5, 2024
1 parent db69641 commit 5e1534b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ name: Go

on:
push:
branches: ["main"]
branches: ["master"]
pull_request:
branches: ["main"]
branches: ["master"]

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gocover.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Go coverage badge # The name of the workflow that will appear on Github

on:
push:
branches: [main]
branches: [master]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ You can optionally weigh class votes by distance, or specify different vote valu
**Contents**
- [Usage](#usage)
- [Options](#options)
- [Benchmarks](#benchmarks)
- [License](#license)

## Usage
Expand All @@ -32,7 +33,7 @@ import (
)

func main() {
// feature vectors packed into uint64s
// feature vectors packed into uint64s
data := []uint64{0b101010, 0b111000, 0b000111}
// class labels
labels := []int{0, 1, 1}
Expand Down

0 comments on commit 5e1534b

Please sign in to comment.