fix compilation errors
This commit is contained in:
parent
6a90931c57
commit
d08ee55795
@ -9,7 +9,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
num := 1000
|
num := int64(1000)
|
||||||
if len(os.Args) > 1 {
|
if len(os.Args) > 1 {
|
||||||
n, err := strconv.ParseInt(os.Args[1], 0, 64)
|
n, err := strconv.ParseInt(os.Args[1], 0, 64)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -22,7 +22,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
price, bidder := auctionsim.RunAuction(
|
price, bidder := auctionsim.RunAuction(
|
||||||
auctionsim.CappedBidderGenerator{
|
&auctionsim.CappedBidderGenerator{
|
||||||
G: auctionsim.NormalestBidderGenerator(),
|
G: auctionsim.NormalestBidderGenerator(),
|
||||||
Lim: num,
|
Lim: num,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user