Skip to content
Snippets Groups Projects
Commit 77de8d18 authored by Andrew E. Torda's avatar Andrew E. Torda
Browse files

linted

parent 9e54ee7a
No related branches found
No related tags found
No related merge requests found
......@@ -197,7 +197,6 @@ func nRunAdj(mcPrm *mcPrm, nstep uint32, runAcc float64, xDlta float32) float32
}
return xDlta
}
func breaker(...interface{}) {}
// doRun does a Monte Carlo run. Although single precision is fine for the
// coordinates and function, we use double precision for the temperature.
......@@ -213,7 +212,7 @@ func doRun(mcPrm *mcPrm) error {
defer cprm.fOut.Flush()
}
if c, ok := cprm.fplotWrt.(io.Closer); ok == true { // will also have to do for X values
if c, ok := cprm.fplotWrt.(io.Closer); ok { // will also have to do for X values
defer c.Close()
}
......@@ -271,7 +270,7 @@ func doRun(mcPrm *mcPrm) error {
return err
}
if bBuf, ok := cprm.fplotWrt.(withBytes); ok == true {
if bBuf, ok := cprm.fplotWrt.(withBytes); ok {
fmt.Println("bBuf for plotting is this big", len(bBuf.Bytes()))
}
if err := plotxWrt(&cprm, mcPrm.xPltName, len(mcPrm.xIni)); err != nil {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment