Skip to content
Snippets Groups Projects
  1. Sep 16, 2014
  2. Sep 10, 2014
    • Martin Nolte's avatar
      [bugfix] add missing include visibility.hh · 2309b953
      Martin Nolte authored
      When using DUNE_EXPORT, you need to include visibility.hh. This was
      omitted when adding this flag to the Singleton class in singleton.hh.
      This patch adds the missing include.
      2309b953
  3. Sep 08, 2014
  4. Aug 29, 2014
    • Christoph Grüninger's avatar
      Reduce number of warnings. · 6bbf986b
      Christoph Grüninger authored
      nullptr-test.cc: Move semicolon to own line to prevent
      Clang warning.
      typetraitstest.cc: Exclude use of deprecated types
      PointeeType and ReferredType with
      DISABLE_DEPRECATED_METHOD_CHECKS defined.
      6bbf986b
  5. Aug 18, 2014
    • Andreas Lauser's avatar
      parameter tree parser: do not try to access the first character of empty strings · fe8cb3dc
      Andreas Lauser authored
      funnily enough, this usually worked (i.e. it returned some garbage
      which was not recognized by the switch statement that followed), and
      was not detected by valgrind (on my machine at least, I suppose this
      was because the address to which the string pointed was still a valid
      memory location created by some previous user). The libstdc++ debug
      mode (-D_GLIBCXX_DEBUG=1 -D_GLIBCXX_DEBUG_PEDANTIC=1) did find it
      though...
      fe8cb3dc
  6. Jul 07, 2014
  7. Jul 06, 2014
  8. Jun 30, 2014
    • Tobias Malkmus's avatar
      [bugfix] add move semantics to DynamicVector · f19517d7
      Tobias Malkmus authored
      Gcc 4.6 cannot generate default move constructor for classes containing a
      DynamicVector because there is no move constructor and the copy constructor
      is non-trivial.
      This patch fixes this, by adding move semantics.
      f19517d7
  9. Jun 23, 2014
  10. Jun 22, 2014
  11. Jun 03, 2014
  12. May 22, 2014
  13. May 20, 2014
  14. May 15, 2014
  15. May 14, 2014
  16. May 02, 2014
  17. Apr 17, 2014
  18. Apr 16, 2014
    • Andreas Dedner's avatar
      check for the problem reported in FS#1456 · 586174c1
      Andreas Dedner authored
      (the problem are operators of the type FieldVector<double,1> *= int)
      clang fails and gcc (4.7) warns about
      ISO C++ saying that these operators are aambiguous
      586174c1
    • Markus Blatt's avatar
      [g++-4.4] Fixes missing std::initializer_list::const_iterator for g++-4.4. · bd498e0d
      Markus Blatt authored
      With g++-4.4 I got the following errors:
      
      fmatrix.hh:106: error: no type named ‘const_iterator’ in ‘class std::initializer_list<std::initializer_list<int> >’
      
      Looking into the header there is indeed the const_iterator (demanded by the standard)
      missing. Therefore I refactored the code to use std::copy_n and thus am omitting the iterator
      type.
      
      At the same time I made the actual copying safer for the case that the initializer_list
      is of different size and people compile with -DNDEBUG. The assertion for the size is still
      left in there. Remove the assert or the size computation at your discretion.
      bd498e0d
    • Oliver Sander's avatar
      7faf61fe
  19. Apr 14, 2014
    • Oliver Sander's avatar
      Change conversion operators (operator K()) to return references instead of values · d6f00739
      Oliver Sander authored
      We simply return a reference to the internal memory instead of copying the object.
      This should save some copying when using FieldVector/FieldMatrix with non-trivial
      types.  Also, it fixes crashes I have experienced with the ADOL-C automatic
      differentiation toolbox [0].
      
      I hope that this patch doesn't have any nasty side effects.  I didn't see any
      so far.  Comments for this patch had been requested in FS 1449, and there have
      been no objections.
      
      [0] I have contacted the ADOL-C maintainer about this and he said the crashes
      are not really bugs in ADOL-C, but that it is simply very difficult to write
      a good operator-overloading AD program that can handle operator K returning
      values.
      d6f00739
    • Andreas Dedner's avatar
  20. Apr 13, 2014
    • Christoph Gersbacher's avatar
      [type traits] Provide replacement for deprecated classes AlwaysFalse, AlwaysTrue · 4665e135
      Christoph Gersbacher authored
      The classes AlwaysFalse, AlwaysTrue reside in the deprecated header
      dune/common/static_assert, yet they are frequently used to document
      template code (see FS#1435 for details). As the C++11 standard library
      does not provide a straight forward replacement for theses classes, we
      offer C++11 style reimplementations. The replacements to_false_type,
      to_true_type reside in the namespace Std and are thus easily
      identifiable as Dune specifis.
      4665e135
  21. Apr 10, 2014
  22. Apr 09, 2014
  23. Apr 08, 2014
  24. Apr 07, 2014
  25. Apr 03, 2014
    • Markus Blatt's avatar
      [bugfix][release] Added missing copy constructor for Pool. · cb5be0f2
      Markus Blatt authored
      When copying PoolAllocators Bard experienced linking errors to the
      copy constructor of Pool, which is deactivated. To fix this we added
      the copy constructor. Note that it does not copy the pool such that
      ownership of allocated memory chunks is clear.
      
      Kudos go to Bard for noticing this and providing the fix.
      
      In addition we removed the copy constructor of the specialization for
      void as the default coy constructor suffices.
      cb5be0f2
  26. Mar 23, 2014
  27. Mar 22, 2014
Loading