File: missing_header.patch

package info (click to toggle)
libsbml 5.20.5%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 117,108 kB
  • sloc: cpp: 469,781; xml: 364,270; ansic: 54,078; python: 12,540; makefile: 9,757; sh: 9,245; cs: 8,586; java: 8,151; perl: 6,133; ruby: 4,760; javascript: 1,605; php: 202; csh: 3
file content (18 lines) | stat: -rw-r--r-- 523 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: the FbcAssociation header has to be included in the matlab
 bindings, as they use the FbcAssociation class
Author: Pierre Gruet <pgt@debian.org>
Forwarded: https://github.com/sbmlteam/libsbml/issues/282
Last-Update: 2022-11-26

--- a/src/bindings/matlab/StructureFields.cpp
+++ b/src/bindings/matlab/StructureFields.cpp
@@ -12,6 +12,9 @@
 #include <sbml/packages/fbc/sbml/FbcAssociation.h>
 #endif // USE_FBC
 
+#ifdef USE_FBC
+#include <sbml/packages/fbc/sbml/FbcAssociation.h>
+#endif
 
 
 #ifdef USE_OCTAVE