Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
platypusguy committed Nov 12, 2024
2 parents 40199cb + 5f5ef60 commit 0a967e7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/gfunction/javaMathBigInteger.go
Original file line number Diff line number Diff line change
Expand Up @@ -1404,10 +1404,9 @@ func bigIntegerToStringRadix(params []interface{}) interface{} {

// "java/math/BigInteger.valueOf(J)Ljava/math/BigInteger;"
func bigIntegerValueOf(params []interface{}) interface{} {
// params[0]: base object (ignored)
// params[1]: long value for returned big.Int object
// params[0]: long value for returned big.Int object

argValue := params[1].(int64)
argValue := params[0].(int64)
obj := object.MakeEmptyObjectWithClassName(&bigIntegerClassName)
initBigIntegerField(obj, argValue)

Expand Down

0 comments on commit 0a967e7

Please sign in to comment.