Skip to content

Commit 2aeb166

Browse files
committed
Fix format
1 parent d563e54 commit 2aeb166

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/engine.jl

+4-2
Original file line numberDiff line numberDiff line change
@@ -180,11 +180,13 @@ function put_variable(session::MSession, name::Symbol, v::MxArray)
180180
string(name),
181181
v,
182182
)
183-
183+
184184
# The size limit for `put_variable` is 2GB according to the MATLAB documentation, but seems to be a bit higher in practice.
185185
# https://de.mathworks.com/help/matlab/apiref/engputvariable.html
186186
ret != 0 && throw(
187-
MEngineError("failed to put variable $(name) into MATLAB session (err = $ret). Ensure the that the variable name does not conflict with internal MATLAB names and that the size of the variable is below the MATLAB limit of 2GB."),
187+
MEngineError(
188+
"failed to put variable $(name) into MATLAB session (err = $ret). Ensure the that the variable name does not conflict with internal MATLAB names and that the size of the variable is below the MATLAB limit of 2GB.",
189+
),
188190
)
189191
return nothing
190192
end

0 commit comments

Comments
 (0)