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 Modelica/Math/package.mo
Original file line number Diff line number Diff line change
Expand Up @@ -8372,7 +8372,7 @@ For details of the arguments, see documentation of dgtsv.
Real Awork[size(A, 1), size(A, 1)]=A;
Real Bwork[size(A, 1), size(A, 1)]=B;
Integer lda=max(1, n);
Real Q[1, 1]=fill(
Real Q[1, n]=fill(
0,
1,
n);
Comment on lines +8375 to 8378

@HansOlsson HansOlsson Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, to just document the original code, and correct the mismatch we could do:

Suggested change
Real Q[1, n]=fill(
0,
1,
n);
Real Q[1, 1]=fill(
0,
1,
1) "Dummy for Q and Z, not used in the call";

This may seem stupid, but the benefit is that it makes it less likely that people rely on Q - or try to extract it without reading the entire documentation.

Expand Down
Loading