Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RadioObservatory
LOFAR
Commits
d58a45d2
Commit
d58a45d2
authored
20 years ago
by
Ger van Diepen
Browse files
Options
Downloads
Patches
Plain Diff
%[ER: 247]%
Make it compile/link well with new dcomplex
parent
dd8e712c
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
CEP/CPA/PSS3/MNS/src/MeqMatrix.cc
+1
-0
1 addition, 0 deletions
CEP/CPA/PSS3/MNS/src/MeqMatrix.cc
CEP/CPA/PSS3/MNS/src/MeqMatrixRealArr.cc
+5
-4
5 additions, 4 deletions
CEP/CPA/PSS3/MNS/src/MeqMatrixRealArr.cc
CEP/CPA/PSS3/MNS/src/MeqParmSingle.cc
+1
-0
1 addition, 0 deletions
CEP/CPA/PSS3/MNS/src/MeqParmSingle.cc
with
7 additions
and
4 deletions
CEP/CPA/PSS3/MNS/src/MeqMatrix.cc
+
1
−
0
View file @
d58a45d2
...
...
@@ -375,3 +375,4 @@ LOFAR::BlobIStream& operator>> (LOFAR::BlobIStream& bs, MeqMatrix& vec)
#include
<casa/Utilities/Copy.cc>
#include
<casa/Utilities/CountedPtr.cc>
template
class
Matrix
<
dcomplex
>;
template
class
Array
<
dcomplex
>;
This diff is collapsed.
Click to expand it.
CEP/CPA/PSS3/MNS/src/MeqMatrixRealArr.cc
+
5
−
4
View file @
d58a45d2
...
...
@@ -27,6 +27,7 @@
#include
<MNS/MeqMatrixComplexArr.h>
#include
<Common/Debug.h>
#include
<casa/BasicSL/Constants.h>
#include
<cmath>
using
namespace
casa
;
...
...
@@ -249,7 +250,7 @@ MeqMatrixRep* MeqMatrixRealArr::sin()
{
int
n
=
nelements
();
for
(
int
i
=
0
;
i
<
n
;
i
++
)
{
itsValue
[
i
]
=
::
sin
(
itsValue
[
i
]);
itsValue
[
i
]
=
std
::
sin
(
itsValue
[
i
]);
}
return
this
;
}
...
...
@@ -258,7 +259,7 @@ MeqMatrixRep* MeqMatrixRealArr::cos()
{
int
n
=
nelements
();
for
(
int
i
=
0
;
i
<
n
;
i
++
)
{
itsValue
[
i
]
=
::
cos
(
itsValue
[
i
]);
itsValue
[
i
]
=
std
::
cos
(
itsValue
[
i
]);
}
return
this
;
}
...
...
@@ -267,7 +268,7 @@ MeqMatrixRep* MeqMatrixRealArr::exp()
{
int
n
=
nelements
();
for
(
int
i
=
0
;
i
<
n
;
i
++
)
{
itsValue
[
i
]
=
::
exp
(
itsValue
[
i
]);
itsValue
[
i
]
=
std
::
exp
(
itsValue
[
i
]);
}
return
this
;
}
...
...
@@ -285,7 +286,7 @@ MeqMatrixRep* MeqMatrixRealArr::sqrt()
{
int
n
=
nelements
();
for
(
int
i
=
0
;
i
<
n
;
i
++
)
{
itsValue
[
i
]
=
::
sqrt
(
itsValue
[
i
]);
itsValue
[
i
]
=
std
::
sqrt
(
itsValue
[
i
]);
}
return
this
;
}
...
...
This diff is collapsed.
Click to expand it.
CEP/CPA/PSS3/MNS/src/MeqParmSingle.cc
+
1
−
0
View file @
d58a45d2
...
...
@@ -25,6 +25,7 @@
#include
<Common/Debug.h>
#include
<Common/lofar_vector.h>
#include
<casa/Utilities/BinarySearch.h>
#include
<cmath>
MeqParmSingle
::
MeqParmSingle
(
const
string
&
name
,
double
value
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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