- Timestamp:
- 05/16/17 14:07:28 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/external-alma/components/SpectralComponents/CompiledSpectralElement.cc
r2980 r3121 105 105 const String& CompiledSpectralElement::getFunction() const { 106 106 // return _function; 107 std:: tr1::shared_ptr<Function<Double, Double> > f = _getFunction();107 std::shared_ptr<Function<Double, Double> > f = _getFunction(); 108 108 return dynamic_cast<CompiledFunction<Double> *>(SpectralElement::_getFunction().get())->getText(); 109 109 } … … 112 112 void CompiledSpectralElement::_setFunction(const String& function) { 113 113 //_function = function; 114 std:: tr1::shared_ptr<Function<Double, Double> > f = _getFunction();114 std::shared_ptr<Function<Double, Double> > f = _getFunction(); 115 115 CompiledFunction<Double> *cf = f.get() == 0 116 116 ? new CompiledFunction<Double>()
Note: See TracChangeset
for help on using the changeset viewer.