Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Maths/MidpointIntegration.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function integralEvaluation(N, a, b, func) {
throw new TypeError('Expected integer N and finite a, b')
}
if (N <= 0) {
throw Error('N has to be >= 2')
throw Error('N has to be > 0')
} // check if N > 0
if (a > b) {
throw Error('a must be less or equal than b')
Expand Down
Loading