summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-physics/camfr/files/throw_patch.diff')
-rw-r--r--sci-physics/camfr/files/throw_patch.diff29
1 files changed, 0 insertions, 29 deletions
diff --git a/sci-physics/camfr/files/throw_patch.diff b/sci-physics/camfr/files/throw_patch.diff
deleted file mode 100644
index 4830f99d6f02..000000000000
--- a/sci-physics/camfr/files/throw_patch.diff
+++ /dev/null
@@ -1,29 +0,0 @@
---- camfr_1.2/camfr/camfr_wrap.cpp 2003-11-03 16:03:13.000000000 +0100
-+++ camfr_1.2_new/camfr/camfr_wrap.cpp 2006-02-23 15:29:36.000000000 +0100
-@@ -352,7 +352,7 @@
- {
- PyErr_SetString(PyExc_ValueError,
- "set_inc_field_function only implemented for slabs.");
-- throw boost::python::argument_error();
-+ exit (-1); //throw boost::python::argument_error();
- }
-
- PythonFunction f(o);
-@@ -395,7 +395,7 @@
- {
- PyErr_SetString(PyExc_ValueError,
- "set_inc_field_gaussian only implemented for slabs.");
-- throw boost::python::argument_error();
-+ exit (-1); //throw boost::python::argument_error();
- }
-
- GaussianFunction f(height,width,pos);
-@@ -442,7 +442,7 @@
- {
- PyErr_SetString(PyExc_ValueError,
- "set_inc_field_plane_Wave only implemented for slabs.");
-- throw boost::python::argument_error();
-+ exit (-1); //throw boost::python::argument_error();
- }
-
- Complex index = slab->get_core()->n();