Skip to content

Commit

Permalink
Fix a sign error in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
AnjoMan authored Mar 14, 2019
1 parent 2f323ee commit 5ccdc99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/src/manual/noteworthy-differences.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ may trip up Julia users accustomed to MATLAB:
* The imaginary unit `sqrt(-1)` is represented in Julia as [`im`](@ref), not `i` or `j` as in MATLAB.
* In Julia, literal numbers without a decimal point (such as `42`) create integers instead of floating
point numbers. As a result, some operations can throw
a domain error if they expect a float; for example, `julia> a = 1; 2^a` throws a domain error, as the
a domain error if they expect a float; for example, `julia> a = -1; 2^a` throws a domain error, as the
result is not an integer (see [the FAQ entry on domain errors](@ref faq-domain-errors) for details).
* In Julia, multiple values are returned and assigned as tuples, e.g. `(a, b) = (1, 2)` or `a, b = 1, 2`.
MATLAB's `nargout`, which is often used in MATLAB to do optional work based on the number of returned
Expand Down

0 comments on commit 5ccdc99

Please sign in to comment.