Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cpmech committed Apr 15, 2024
1 parent 7090bee commit c936f20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion num/brent.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ func (o *Brent) Min(xa, xb float64) (xAtMin float64) {
x, w, fx, fw := v, v, fv, fv

// solve
var rng float64 // range over which the minimum is seeked for
var rng float64 // range over which the minimum is sought for
var midRng float64 // middle range
var tolAct float64 // actual tolerance
var newStep float64 // step at one iteration
Expand Down

0 comments on commit c936f20

Please sign in to comment.