Skip to content

Commit

Permalink
Corrected syntax error in function_patch.hpp .
Browse files Browse the repository at this point in the history
  • Loading branch information
pietercollins committed Jan 18, 2025
1 parent 5de0cd7 commit c53cbb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/function/function_patch.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ template<class P, class... ARGS> class FunctionPatch<P,RealScalar(ARGS...)>
friend ScalarFunctionPatch<P,ARGS...> restriction(const ScalarFunctionPatch<P,ARGS...>& f, const DomainType& d) {
return ScalarFunctionPatch<P,ARGS...>(f._ptr->_restriction(d)); }
friend inline ScalarFunction<P,ARGS...> cast_unrestricted(ScalarFunctionPatch<P,ARGS...> const& f) {
return ScalarFunction<P,ARGS...>(std::dynamic_pointer_cast<ScalarFunctionInterface<P,ARGS...>>>(f.managed_pointer())); }
return ScalarFunction<P,ARGS...>(std::dynamic_pointer_cast<ScalarFunctionInterface<P,ARGS...>>(f.managed_pointer())); }

friend VectorFunctionPatch<P,ARGS...> join(const ScalarFunctionPatch<P,ARGS...>& f1, const ScalarFunctionPatch<P,ARGS...>& f2) {
return join(VectorFunctionPatch<P,ARGS...>(1,f1),f2); }
Expand Down

0 comments on commit c53cbb3

Please sign in to comment.