Skip to content
This repository was archived by the owner on Dec 6, 2023. It is now read-only.

Commit 7829f92

Browse files
committed
FIX: missing : in __init__ declaration
1 parent 57dacdd commit 7829f92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/impl/sgd_fast.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ cdef class Hinge(LossFunction):
1818

1919
cdef double threshold
2020

21-
def __init__(self, double threshold=1.0)
21+
def __init__(self, double threshold=1.0):
2222
self.threshold = threshold
2323

2424
cpdef double loss(self, double p, double y)

0 commit comments

Comments
 (0)