Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
cigale
CIGALE
Commits
7821601f
Commit
7821601f
authored
Mar 11, 2016
by
Médéric Boquien
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use self.redshift and not redshift.
parent
bd78f5eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
pcigale/sed_modules/redshifting.py
pcigale/sed_modules/redshifting.py
+1
-1
No files found.
pcigale/sed_modules/redshifting.py
View file @
7821601f
...
...
@@ -161,7 +161,7 @@ class Redshifting(SedModule):
# not for blue-shifting.
if
self
.
redshift
<
0.
:
raise
Exception
(
"The redshift provided is negative <{}>."
.
format
(
redshift
))
.
format
(
self
.
redshift
))
self
.
universe_age
=
cosmology
.
age
(
self
.
redshift
).
value
*
1000.
if
self
.
redshift
==
0.
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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