Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
7fa457c7
Commit
7fa457c7
authored
Feb 04, 2015
by
Marco Selig
Browse files
minor bugs in submodule lm fixed.
parent
b590b3e7
Changes
3
Hide whitespace changes
Inline
Side-by-side
lm/__init__.py
View file @
7fa457c7
...
...
@@ -20,7 +20,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
division
from
nifty
import
about
#from nifty_lm import *
try
:
import
libsharp_wrapper_gl
as
gl
...
...
@@ -28,6 +28,7 @@ except(ImportError):
try
:
import
healpy
as
hp
except
(
ImportError
):
about
.
infos
.
cprint
(
"INFO: neither libsharp_wrapper_gl nor healpy available."
)
pass
## import nothing
else
:
from
nifty_lm
import
lm_space
,
hp_space
## import lm & hp
...
...
@@ -39,6 +40,5 @@ else:
from
nifty_lm
import
lm_space
,
gl_space
## import lm & gl
else
:
from
nifty_lm
import
lm_space
,
gl_space
,
hp_space
## import all 3
from
nifty_power_conversion_lm
import
*
lm/nifty_lm.py
View file @
7fa457c7
...
...
@@ -636,7 +636,7 @@ class lm_space(space):
else
:
return
gl
.
dotlm
(
x
,
y
,
lmax
=
self
.
para
[
0
],
mmax
=
self
.
para
[
1
])
else
:
self
.
_dotlm
(
x
,
y
)
return
self
.
_dotlm
(
x
,
y
)
##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
...
...
nifty_core.py
View file @
7fa457c7
...
...
@@ -150,7 +150,7 @@ from multiprocessing import Value as mv
from
multiprocessing
import
Array
as
ma
__version__
=
"1.0.
4
"
__version__
=
"1.0.
5
"
pi
=
3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679
...
...
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!
Cancel
Please
register
or
sign in
to comment