Skip to content

Commit

Permalink
make -model terminate the model with a '0'
Browse files Browse the repository at this point in the history
  • Loading branch information
wsc1 committed Aug 28, 2018
1 parent 822b087 commit 640d811
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions cmd/gini/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ import (
"compress/gzip"
"flag"
"fmt"
proto "github.com/irifrance/gini/crisp"
"github.com/irifrance/gini/internal/xo"
"github.com/irifrance/gini/z"
"io"
"log"
"net/http"
Expand All @@ -20,6 +17,10 @@ import (
"strconv"
"strings"
"time"

proto "github.com/irifrance/gini/crisp"
"github.com/irifrance/gini/internal/xo"
"github.com/irifrance/gini/z"
)

var pprofAddr = flag.String("pprof", "", "address to serve http profile (eg :6060)")
Expand Down Expand Up @@ -233,7 +234,7 @@ func outputModel(v z.Var, m values) {
col++
col += n
}
fmt.Printf("\n")
fmt.Printf(" 0\n")
}

func outputFailed(fs []z.Lit) {
Expand Down

0 comments on commit 640d811

Please sign in to comment.