Skip to content

Commit 206e2f8

Browse files
fix: memperbaiki CodeQL
1 parent 976d60e commit 206e2f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

math/rieman_integral.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def main(args=None):
4444

4545
# persamaan x
4646
def f(x):
47-
return x
47+
return 1/x
4848
print(rieman_integral(f, 0, 1, 1, "tengah")) # 0.5
4949

5050
# persamaan 4/(1+x^2)

0 commit comments

Comments
 (0)