31 lines
884 B
Diff
31 lines
884 B
Diff
From 2d39d558734cd49b960410c8894b76aa59af60cc Mon Sep 17 00:00:00 2001
|
|
From: William S Fulton <wsf@fultondesigns.co.uk>
|
|
Date: Tue, 16 Jan 2024 08:24:46 +0000
|
|
Subject: [PATCH] Friends testcase fix
|
|
|
|
---
|
|
Examples/test-suite/friends.i | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/Examples/test-suite/friends.i b/Examples/test-suite/friends.i
|
|
index e37a8c11f..0efffd1cb 100644
|
|
--- a/Examples/test-suite/friends.i
|
|
+++ b/Examples/test-suite/friends.i
|
|
@@ -166,11 +166,11 @@
|
|
%}
|
|
|
|
%{
|
|
-CModelParameterCompartment::~CModelParameterCompartment() {
|
|
+CModelParameterCompartment::CModelParameterCompartment() {
|
|
species = new CModelParameterSpecies();
|
|
species->private_val = 1;
|
|
}
|
|
-CModelParameterCompartment::CModelParameterCompartment() {
|
|
+CModelParameterCompartment::~CModelParameterCompartment() {
|
|
species->private_val = 0;
|
|
delete species;
|
|
}
|
|
--
|
|
2.43.0
|
|
|