Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
partons
core
partons
Commits
79e8f5ef
Commit
79e8f5ef
authored
Feb 18, 2020
by
Pawel Sznajder
Browse files
correct reading of units from files for observables
parent
2a239c8a
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/partons/utils/type/PhysicalType.h
View file @
79e8f5ef
...
...
@@ -327,7 +327,9 @@ private:
// if conversion failed then print an exception
if
((
sstream
>>
m_value
).
fail
())
{
throw
ElemUtils
::
CustomException
(
getClassName
(),
__func__
,
"Cast from std::string to type<T> failed !"
);
ElemUtils
::
Formatter
()
<<
"Cast from std::string to type<T> failed for: "
<<
stringValue
);
}
}
...
...
src/partons/beans/KinematicUtils.cpp
View file @
79e8f5ef
...
...
@@ -181,7 +181,6 @@ List<DVCSConvolCoeffFunctionKinematic> KinematicUtils::getDVCSCCFKinematicFromFi
//continue
continue
;
}
//split
...
...
@@ -288,7 +287,6 @@ List<TCSConvolCoeffFunctionKinematic> KinematicUtils::getTCSCCFKinematicFromFile
//continue
continue
;
}
//split
...
...
@@ -394,6 +392,8 @@ List<DVCSObservableKinematic> KinematicUtils::getDVCSObservableKinematicFromFile
}
//continue
continue
;
}
//split
...
...
@@ -500,6 +500,8 @@ List<TCSObservableKinematic> KinematicUtils::getTCSObservableKinematicFromFile(
}
//continue
continue
;
}
//split
...
...
Write
Preview
Supports
Markdown
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