Opened 10 years ago
Closed 10 years ago
#7001 closed Bugs (fixed)
Macro guards are missing in boost/math/distributions/logistic.hpp
| Reported by: | Owned by: | John Maddock | |
|---|---|---|---|
| Milestone: | To Be Determined | Component: | math | 
| Version: | Boost Development Trunk | Severity: | Problem | 
| Keywords: | logistic guard | Cc: | 
Description
#ifndef BOOST_STATS_LOGISTIC_HPP #define BOOST_STATS_LOGISTIC_HPP
...
#endif BOOST_STATS_LOGISTIC_HPP
are missing. This causes compilation error: "Class template has already been defined".
This is a minimal example where the problem occurs:
#include <boost/math/distributions/logistic.hpp>
#include <boost/math/distributions/logistic.hpp>
int main(){return 0;}
      Attachments (1)
Change History (2)
by , 10 years ago
| Attachment: | logistic.hpp.patch added | 
|---|
comment:1 by , 10 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
  Note:
 See   TracTickets
 for help on using tickets.
    

Patch file