Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
grumpy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
grumpy
Commits
8f3ca94c
Commit
8f3ca94c
authored
Jan 18, 2017
by
YOU
Committed by
Dylan Trotter
Jan 17, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix lint error on Pow (#147)
parent
d5c4e9e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
runtime/core.go
runtime/core.go
+2
-0
No files found.
runtime/core.go
View file @
8f3ca94c
...
...
@@ -451,6 +451,8 @@ func Mul(f *Frame, v, w *Object) (*Object, *BaseException) {
return
binaryOp
(
f
,
v
,
w
,
v
.
typ
.
slots
.
Mul
,
v
.
typ
.
slots
.
RMul
,
w
.
typ
.
slots
.
RMul
,
"*"
)
}
// Pow returns the result of x**y, the base-x exponential of y according to the
// __pow/rpow__ operator.
func
Pow
(
f
*
Frame
,
v
,
w
*
Object
)
(
*
Object
,
*
BaseException
)
{
return
binaryOp
(
f
,
v
,
w
,
v
.
typ
.
slots
.
Pow
,
v
.
typ
.
slots
.
RPow
,
w
.
typ
.
slots
.
RPow
,
"**"
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment