mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-20 14:51:35 +02:00
slight code cleanup for echo_matrix
This commit is contained in:
@@ -514,8 +514,8 @@ function echo_matrix(M,description,sig=4,eps=1e-9) =
|
|||||||
horiz_line = chr(8213),
|
horiz_line = chr(8213),
|
||||||
matstr = matrix_strings(M,sig=sig,eps=eps),
|
matstr = matrix_strings(M,sig=sig,eps=eps),
|
||||||
separator = str_join(repeat(horiz_line,10)),
|
separator = str_join(repeat(horiz_line,10)),
|
||||||
dummy1=echo(str(separator," ",is_def(description) ? description : "")),
|
dummy=echo(str(separator," ",is_def(description) ? description : ""))
|
||||||
dummy2=[for(row=matstr) echo(row)]
|
[for(row=matstr) echo(row)]
|
||||||
)
|
)
|
||||||
echo(separator);
|
echo(separator);
|
||||||
|
|
||||||
@@ -525,5 +525,4 @@ module echo_matrix(M,description,sig=4,eps=1e-9)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// vim: expandtab tabstop=4 shiftwidth=4 softtabstop=4 nowrap
|
// vim: expandtab tabstop=4 shiftwidth=4 softtabstop=4 nowrap
|
||||||
|
Reference in New Issue
Block a user