Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 27f4788

Browse files
Fix multiple
1 parent 9244e32 commit 27f4788

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎algorithms/Divisibility_of_integers/multiple.m‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
% OUTPUT: Is a boolean value 0 or 1.
77
% THROWS: Throws a assertion error if the inputs invalid.
88

9-
assert((isnumeric(x) && isnumeric(m)), "The inputs must be integers")
9+
assert((x== round(x) && m== round(m)), "The inputs must be integers")
1010

1111
if m == 0
1212
ans = (x == 0);

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /