Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Lab2
analyzer
Commits
a503aa21
Commit
a503aa21
authored
1 month ago
by
Башмаков Амир Саидович
Browse files
Options
Download
Patches
Plain Diff
fix bug
parent
0f27a1c0
main
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
linalg
+1
-1
linalg
source/complex.cpp
+1
-1
source/complex.cpp
workdir/different_rows_size.txt
+3
-3
workdir/different_rows_size.txt
with
5 additions
and
5 deletions
+5
-5
linalg
@
44b2d488
Compare
b275df7d
...
44b2d488
Subproject commit
b275df7dbaa38d1bb7e22c04ffc01cfea01ff2e1
Subproject commit
44b2d48830ceeedb53ad72aabfb2e76f7837bf30
This diff is collapsed.
Click to expand it.
source/complex.cpp
+
1
−
1
View file @
a503aa21
...
...
@@ -77,7 +77,7 @@ Complex operator/(const Complex& v1, const Complex& v2) {
std
::
ostream
&
operator
<<
(
std
::
ostream
&
out
,
const
Complex
&
v
)
{
std
::
stringstream
sout
;
sout
<<
std
::
fixed
<<
std
::
setprecision
(
2
);
//
sout << std::fixed << std::setprecision(2);
if
(
close_enough
(
v
.
m_im
,
0
))
{
return
out
<<
v
.
m_re
;
}
...
...
This diff is collapsed.
Click to expand it.
workdir/different_rows_size.txt
+
3
−
3
View file @
a503aa21
|1+0i
0
+0i 0+0i 0+0i
0+1i
|
|1+0i
1
+0i 0+0i 0+0i|
|0+0i 1+0i 0+0i 0+0i|
|0+0i 0+0i 1+0i 0+0i|
|0+0i 0+0i 0+0i 1+0i|
\ No newline at end of file
|1+0i 0+0i 0+0i|
|0+0i 0+0i 1+0i 0+0i|
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets