From: Jean-Paul Pelteret Date: Fri, 5 Oct 2018 14:09:44 +0000 (+0200) Subject: Change an exception. X-Git-Tag: v9.1.0-rc1~630^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b12731f10fdce6e1164fb7f691dd087408ab6b45;p=dealii.git Change an exception. This commit corrects the spelling of an exception that refers to ADOL-C (capitalised). --- diff --git a/include/deal.II/differentiation/ad/ad_drivers.h b/include/deal.II/differentiation/ad/ad_drivers.h index 4d58a94b9f..0d02f189bc 100644 --- a/include/deal.II/differentiation/ad/ad_drivers.h +++ b/include/deal.II/differentiation/ad/ad_drivers.h @@ -68,7 +68,7 @@ namespace Differentiation * Exception denoting that ADOL-C is a required feature. */ DeclExceptionMsg( - ExcRequiresAdolC, + ExcRequiresADOLC, "This function is only available if deal.II is compiled with ADOL-C."); /** @@ -1212,28 +1212,28 @@ namespace Differentiation bool is_recording() const { - AssertThrow(false, ExcRequiresAdolC()); + AssertThrow(false, ExcRequiresADOLC()); return false; } types::tape_index active_tape_index() const { - AssertThrow(false, ExcRequiresAdolC()); + AssertThrow(false, ExcRequiresADOLC()); return numbers::invalid_tape_index; } bool keep_independent_values() const { - AssertThrow(false, ExcRequiresAdolC()); + AssertThrow(false, ExcRequiresADOLC()); return false; } bool is_registered_tape(const types::tape_index tape_index) const { - AssertThrow(false, ExcRequiresAdolC()); + AssertThrow(false, ExcRequiresADOLC()); return false; } @@ -1243,43 +1243,43 @@ namespace Differentiation const types::tape_buffer_sizes, const types::tape_buffer_sizes) { - AssertThrow(false, ExcRequiresAdolC()); + AssertThrow(false, ExcRequiresADOLC()); } void start_taping(const types::tape_index, const bool) { - AssertThrow(false, ExcRequiresAdolC()); + AssertThrow(false, ExcRequiresADOLC()); } void stop_taping(const types::tape_index, const bool) { - AssertThrow(false, ExcRequiresAdolC()); + AssertThrow(false, ExcRequiresADOLC()); } void activate_tape(const types::tape_index) { - AssertThrow(false, ExcRequiresAdolC()); + AssertThrow(false, ExcRequiresADOLC()); } void reset(const bool) { - AssertThrow(false, ExcRequiresAdolC()); + AssertThrow(false, ExcRequiresADOLC()); } void print(std::ostream &stream) const { - AssertThrow(false, ExcRequiresAdolC()); + AssertThrow(false, ExcRequiresADOLC()); } static void print_tape_stats(const types::tape_index, std::ostream &) { - AssertThrow(false, ExcRequiresAdolC()); + AssertThrow(false, ExcRequiresADOLC()); } @@ -1288,7 +1288,7 @@ namespace Differentiation static scalar_type value(const types::tape_index, const std::vector &) { - AssertThrow(false, ExcRequiresAdolC()); + AssertThrow(false, ExcRequiresADOLC()); return 0.0; } @@ -1297,7 +1297,7 @@ namespace Differentiation const std::vector &, Vector &) { - AssertThrow(false, ExcRequiresAdolC()); + AssertThrow(false, ExcRequiresADOLC()); } static void @@ -1305,7 +1305,7 @@ namespace Differentiation const std::vector &, FullMatrix &) { - AssertThrow(false, ExcRequiresAdolC()); + AssertThrow(false, ExcRequiresADOLC()); } // === Vector drivers === @@ -1316,7 +1316,7 @@ namespace Differentiation const std::vector &, Vector &) { - AssertThrow(false, ExcRequiresAdolC()); + AssertThrow(false, ExcRequiresADOLC()); } static void @@ -1325,7 +1325,7 @@ namespace Differentiation const std::vector &, FullMatrix &) { - AssertThrow(false, ExcRequiresAdolC()); + AssertThrow(false, ExcRequiresADOLC()); } }; @@ -1761,7 +1761,7 @@ namespace Differentiation NumberTypes::adolc_tapeless>::type configure_tapeless_mode(const unsigned int /*n_directional_derivatives*/) { - AssertThrow(false, ExcRequiresAdolC()); + AssertThrow(false, ExcRequiresADOLC()); } # endif