Opened 6 years ago

Closed 6 years ago

#7001 closed Bugs (fixed)

Macro guards are missing in boost/math/distributions/logistic.hpp

Reported by: jc_doubleimpact <jeanclaude.doubleimpact@…> Owned by: John Maddock
Milestone: To Be Determined Component: math
Version: Boost Development Trunk Severity: Problem
Keywords: logistic guard Cc:





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)

logistic.hpp.patch (662 bytes) - added by jc_doubleimpact <jeanclaude.doubleimpact@…> 6 years ago.
Patch file

Download all attachments as: .zip

Change History (2)

Changed 6 years ago by jc_doubleimpact <jeanclaude.doubleimpact@…>

Attachment: logistic.hpp.patch added

Patch file

comment:1 Changed 6 years ago by John Maddock

Resolution: fixed
Status: newclosed

(In [79027]) Add missing include guards. Fixes #7001.

Note: See TracTickets for help on using tickets.